Class SingleCharReader
- java.lang.Object
-
- java.io.Reader
-
- org.eclipse.m2m.atl.adt.ui.corext.doc.SingleCharReader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Readable
- Direct Known Subclasses:
AtlCodeReader
public abstract class SingleCharReader extends java.io.Reader
-
-
Constructor Summary
Constructors Constructor Description SingleCharReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getString()
Gets the content as a Stringint
read(char[] cbuf, int off, int len)
boolean
ready()
-
-
-
Method Detail
-
getString
public java.lang.String getString() throws java.io.IOException
Gets the content as a String- Throws:
java.io.IOException
-
read
public int read(char[] cbuf, int off, int len) throws java.io.IOException
- Specified by:
read
in classjava.io.Reader
- Throws:
java.io.IOException
- See Also:
Reader.read(char[], int, int)
-
ready
public boolean ready() throws java.io.IOException
- Overrides:
ready
in classjava.io.Reader
- Throws:
java.io.IOException
- See Also:
Reader.ready()
-
-