org.eclipse.datatools.sqltools.common.ui.util
Class SingleCharReader
java.lang.Object
   java.io.Reader
java.io.Reader
       org.eclipse.datatools.sqltools.common.ui.util.SingleCharReader
org.eclipse.datatools.sqltools.common.ui.util.SingleCharReader
- All Implemented Interfaces: 
- java.io.Closeable, java.lang.Readable
- Direct Known Subclasses: 
- SubstitutionTextReader
- public abstract class SingleCharReader 
- extends java.io.Reader
 
| Method Summary | 
|  java.lang.String | getString()Gets the content as a String
 | 
| abstract  int | read()
 | 
|  int | read(char[] cbuf,
     int off,
     int len)
 | 
|  boolean | ready()
 | 
 
| Methods inherited from class java.io.Reader | 
| close, mark, markSupported, read, read, reset, skip | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SingleCharReader
public SingleCharReader()
read
public abstract int read()
                  throws java.io.IOException
- 
- Overrides:
- readin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
- See Also:
- Reader.read()
 
read
public int read(char[] cbuf,
                int off,
                int len)
         throws java.io.IOException
- 
- Specified by:
- readin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
- See Also:
- Reader.read(char[],int,int)
 
ready
public boolean ready()
              throws java.io.IOException
- 
- Overrides:
- readyin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
- See Also:
- Reader.ready()
 
getString
public java.lang.String getString()
                           throws java.io.IOException
- Gets the content as a String
 
- 
- Throws:
- java.io.IOException