Package sootup.core.util
Class EscapedWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
sootup.core.util.EscapedWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
A FilterWriter which catches to-be-escaped characters (
\\unnnn
) in the input and
substitutes their escaped representation. Used for Soot output.-
Field Summary
Fields inherited from class java.io.FilterWriter
out
-
Constructor Summary
ConstructorDescriptionEscapedWriter
(Writer fos) Constructs an EscapedWriter around the given Writer. -
Method Summary
Methods inherited from class java.io.FilterWriter
close, flush, write
-
Constructor Details
-
EscapedWriter
Constructs an EscapedWriter around the given Writer.
-
-
Method Details
-
print
Print a single character (unsupported).- Throws:
IOException
-
write
Write a segment of the given String.- Overrides:
write
in classFilterWriter
- Throws:
IOException
-
write
Write a single character.- Overrides:
write
in classFilterWriter
- Throws:
IOException
-