|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RootInput
Extension of DataInput with root specific utilities
Method Summary | |
---|---|
void |
checkLength(AbstractRootObject object)
|
void |
clearMap()
|
void |
close()
|
void |
dump()
For debugging |
RootClassFactory |
getFactory()
|
long |
getPosition()
|
int |
getRootVersion()
Returns the Root version which wrote this file |
RootInput |
getTop()
Returns the RootInput at the top of top of the heirarchy of slices |
int |
readArray(byte[] data)
|
int |
readArray(double[] data)
|
int |
readArray(float[] data)
|
int |
readArray(int[] data)
|
int |
readArray(short[] data)
|
void |
readFixedArray(byte[] data)
|
void |
readFixedArray(double[] data)
|
void |
readFixedArray(float[] data)
|
void |
readFixedArray(int[] data)
|
void |
readFixedArray(long[] data)
|
void |
readFixedArray(short[] data)
|
void |
readMultiArray(Object[] array)
|
String |
readNullTerminatedString(int maxLength)
|
RootObject |
readObject(String type)
|
RootObject |
readObjectRef()
|
String |
readString()
|
double |
readTwistedDouble()
Reads a double in strange byte order? |
int |
readVersion()
|
int |
readVersion(AbstractRootObject object)
|
void |
setMap(int offset)
|
void |
setPosition(long pos)
|
void |
skipObject()
For skipping uninterpretable objects |
RootInput |
slice(int size)
Returns a new RootInput stream which represents a slice of this RootInput stream. |
RootInput |
slice(int inSize,
int outSize)
Slice and decompress |
Methods inherited from interface java.io.DataInput |
---|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
Method Detail |
---|
RootClassFactory getFactory()
void setMap(int offset) throws IOException
IOException
void setPosition(long pos) throws IOException
IOException
long getPosition() throws IOException
IOException
int getRootVersion()
RootInput getTop()
void checkLength(AbstractRootObject object) throws IOException
IOException
void clearMap() throws IOException
IOException
int readArray(int[] data) throws IOException
IOException
int readArray(byte[] data) throws IOException
IOException
int readArray(short[] data) throws IOException
IOException
int readArray(float[] data) throws IOException
IOException
int readArray(double[] data) throws IOException
IOException
void readFixedArray(int[] data) throws IOException
IOException
void readFixedArray(byte[] data) throws IOException
IOException
void readFixedArray(short[] data) throws IOException
IOException
void readFixedArray(float[] data) throws IOException
IOException
void readFixedArray(double[] data) throws IOException
IOException
void readFixedArray(long[] data) throws IOException
IOException
void readMultiArray(Object[] array) throws IOException
IOException
String readNullTerminatedString(int maxLength) throws IOException
IOException
RootObject readObject(String type) throws IOException
IOException
RootObject readObjectRef() throws IOException
IOException
String readString() throws IOException
IOException
int readVersion() throws IOException
IOException
int readVersion(AbstractRootObject object) throws IOException
IOException
RootInput slice(int size) throws IOException
size
- The size of the slice.
IOException
RootInput slice(int inSize, int outSize) throws IOException
IOException
double readTwistedDouble() throws IOException
IOException
void dump() throws IOException
IOException
void close() throws IOException
IOException
void skipObject() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |