Inherits java::io::PrintWriter.
Public Member Functions | |
StrippingPrintWriter (Writer out, boolean autoFlush) | |
void | write (String s) |
This class is used as a somewhat dirty, but very efficient way to avoid overloading and copying 95% of the implementation of a number of methods like IdlToJava.translate_struct(IdlObject obj, File writeInto).
In these methods, only very few known Strings must be suppressed or modified; the strings are hopefully unique enough to not provoke unforeseen damage with the modification.
alma.tools.idlgen.StrippingPrintWriter.StrippingPrintWriter | ( | Writer | out, | |
boolean | autoFlush | |||
) |
void alma.tools.idlgen.StrippingPrintWriter.write | ( | String | s | ) |