|
||||||||||
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.BufferInput
org.basex.io.in.ArrayInput
public final class ArrayInput
This class allows reading from a cached byte array.
Field Summary |
---|
Fields inherited from class org.basex.io.in.BufferInput |
---|
bpos, bsize, buffer, input, length |
Constructor Summary | |
---|---|
ArrayInput(byte[] in)
Constructor, specifying the byte array to be read. |
|
ArrayInput(java.lang.String in)
Constructor, specifying the string to be read. |
Method Summary | |
---|---|
protected int |
readByte()
Returns the next unsigned byte. |
Methods inherited from class org.basex.io.in.BufferInput |
---|
close, content, io, length, mark, markSupported, read, readBytes, readString, reset, size |
Methods inherited from class java.io.InputStream |
---|
available, read, read, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayInput(byte[] in)
in
- input bytespublic ArrayInput(java.lang.String in)
in
- input bytesMethod Detail |
---|
protected int readByte()
BufferInput
-1
is returned if all bytes have been read.
readByte
in class BufferInput
InputStream.read()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |