Class AugmentJavaFiles

java.lang.Object
com.peterabeles.autocode.AugmentJavaFiles

public class AugmentJavaFiles extends Object
Augments Java files to add code which did not originally exist. Currently this is only done to mark files as auto generated. Almost all other modifications are key word swaps.
  • Constructor Details

    • AugmentJavaFiles

      public AugmentJavaFiles()
  • Method Details

    • augment

      public InputStream augment(InputStream stream, String originalFileName) throws IOException
      Augments the input stream and returns a new stream with the augmentations
      Parameters:
      stream - Stream after being converted to 32
      originalFileName - Original name of file used to generate it
      Returns:
      New stream after being augmented
      Throws:
      IOException