Package com.peterabeles.autocode
Class AugmentJavaFiles
java.lang.Object
com.peterabeles.autocode.AugmentJavaFiles
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaugment(InputStream stream, String originalFileName) Augments the input stream and returns a new stream with the augmentations
-
Constructor Details
-
AugmentJavaFiles
public AugmentJavaFiles()
-
-
Method Details
-
augment
Augments the input stream and returns a new stream with the augmentations- Parameters:
stream- Stream after being converted to 32originalFileName- Original name of file used to generate it- Returns:
- New stream after being augmented
- Throws:
IOException
-