|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Reader
org.openjena.atlas.io.InStreamUTF8
public final class InStreamUTF8
Fast and streaming UTF-8
Constructor Summary | |
---|---|
InStreamUTF8(InputStream in)
|
|
InStreamUTF8(InputStreamBuffered in)
|
Method Summary | |
---|---|
int |
advance()
Next codepoint, given the first byte of any UTF-8 byte sequence is already known. |
static int |
advance(InputStreamBuffered input)
Next codepoint |
static int |
advance(InputStreamBuffered input,
int x)
Next codepoint, given the first byte of any UTF-8 byte sequence is already known. |
void |
close()
|
void |
closeStream()
Close the stream - different name from java.io.Reader.close |
static String |
decode(byte[] bytes)
|
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 |
Constructor Detail |
---|
public InStreamUTF8(InputStream in)
public InStreamUTF8(InputStreamBuffered in)
Method Detail |
---|
public boolean ready() throws IOException
ready
in class Reader
IOException
public void close() throws IOException
close
in interface Closeable
close
in class Reader
IOException
public void closeStream()
CharStream
closeStream
in interface CharStream
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
public final int read() throws IOException
read
in class Reader
IOException
public final int advance()
advance
in interface CharStream
public static final int advance(InputStreamBuffered input)
public static final int advance(InputStreamBuffered input, int x)
public static String decode(byte[] bytes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |