org.openjena.atlas.io
Class InStreamASCII
java.lang.Object
java.io.Reader
org.openjena.atlas.io.InStreamASCII
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable, CharStream
public final class InStreamASCII
- extends java.io.Reader
- implements CharStream
Fast and streaming.
|
Method Summary |
int |
advance()
|
void |
close()
|
void |
closeStream()
Close the stream - different name from java.io.Reader.close |
int |
read()
|
int |
read(char[] cbuf,
int off,
int len)
|
boolean |
ready()
|
| Methods inherited from class java.io.Reader |
mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InStreamASCII
public InStreamASCII(java.io.InputStream in)
InStreamASCII
public InStreamASCII(InputStreamBuffered in)
ready
public boolean ready()
throws java.io.IOException
- Overrides:
ready in class java.io.Reader
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Specified by:
close in class java.io.Reader
- Throws:
java.io.IOException
closeStream
public void closeStream()
- Description copied from interface:
CharStream
- Close the stream - different name from java.io.Reader.close
- Specified by:
closeStream in interface CharStream
read
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Specified by:
read in class java.io.Reader
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Overrides:
read in class java.io.Reader
- Throws:
java.io.IOException
advance
public int advance()
- Specified by:
advance in interface CharStream
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.