Package soot.util

Class EscapedWriter

  • All Implemented Interfaces:
    Closeable, Flushable, Appendable, AutoCloseable

    public class EscapedWriter
    extends FilterWriter
    A FilterWriter which catches to-be-escaped characters (\\unnnn) in the input and substitutes their escaped representation. Used for Soot output.
    • Field Detail

      • lineSeparator

        public final String lineSeparator
        Convenience field containing the system's line separator.
    • Constructor Detail

      • EscapedWriter

        public EscapedWriter​(Writer fos)
        Constructs an EscapedWriter around the given Writer.