|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.basex.io.in.DecodingInput
public final class DecodingInput
This server-side class wraps an InputStream
filled by a database
client. The incoming bytes are decoded:
0x00
is treated as end of stream, and -1 is returned0xFF
is treated as encoding flag and skipped
Constructor Summary | |
---|---|
DecodingInput(java.io.InputStream in)
Constructor. |
Method Summary | |
---|---|
void |
flush()
Flushes the remaining client data. |
int |
read()
|
Methods inherited from class java.io.InputStream |
---|
available, close, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DecodingInput(java.io.InputStream in)
in
- buffer input to be wrappedMethod Detail |
---|
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
- I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |