Package soot.util
Class EscapedReader
- java.lang.Object
-
- java.io.Reader
-
- java.io.FilterReader
-
- soot.util.EscapedReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
public class EscapedReader extends FilterReader
A FilterReader which catches escaped characters (\\unnnn) in the input and de-escapes them. Used in the Jimple Parser.
-
-
Field Summary
-
Fields inherited from class java.io.FilterReader
in
-
-
Constructor Summary
Constructors Constructor Description EscapedReader(Reader fos)Constructs an EscapedReader around the given Reader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread()Reads a character from the input.-
Methods inherited from class java.io.FilterReader
close, mark, markSupported, read, ready, reset, skip
-
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
-
-
-
Constructor Detail
-
EscapedReader
public EscapedReader(Reader fos)
Constructs an EscapedReader around the given Reader.
-
-
Method Detail
-
read
public int read() throws IOExceptionReads a character from the input.- Overrides:
readin classFilterReader- Throws:
IOException
-
-