public interface RootInput extends DataInput
| Modifier and Type | Method and Description |
|---|---|
void |
checkLength(AbstractRootObject object) |
void |
clearMap() |
void |
close() |
void |
dump()
For debugging
|
RootClassFactory |
getFactory() |
int |
getLast() |
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 |
setLast(int last) |
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
|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytesRootClassFactory getFactory()
void setMap(int offset)
throws IOException
IOExceptionvoid setPosition(long pos)
throws IOException
IOExceptionlong getPosition()
throws IOException
IOExceptionint getRootVersion()
RootInput getTop()
void checkLength(AbstractRootObject object) throws IOException
IOExceptionvoid clearMap()
throws IOException
IOExceptionint readArray(int[] data)
throws IOException
IOExceptionint readArray(byte[] data)
throws IOException
IOExceptionint readArray(short[] data)
throws IOException
IOExceptionint readArray(float[] data)
throws IOException
IOExceptionint readArray(double[] data)
throws IOException
IOExceptionvoid readFixedArray(int[] data)
throws IOException
IOExceptionvoid readFixedArray(byte[] data)
throws IOException
IOExceptionvoid readFixedArray(short[] data)
throws IOException
IOExceptionvoid readFixedArray(float[] data)
throws IOException
IOExceptionvoid readFixedArray(double[] data)
throws IOException
IOExceptionvoid readFixedArray(long[] data)
throws IOException
IOExceptionvoid readMultiArray(Object[] array) throws IOException
IOExceptionString readNullTerminatedString(int maxLength) throws IOException
IOExceptionRootObject readObject(String type) throws IOException
IOExceptionRootObject readObjectRef() throws IOException
IOExceptionString readString() throws IOException
IOExceptionint readVersion()
throws IOException
IOExceptionint readVersion(AbstractRootObject object) throws IOException
IOExceptionRootInput slice(int size) throws IOException
size - The size of the slice.IOExceptionRootInput slice(int inSize, int outSize) throws IOException
IOExceptiondouble readTwistedDouble()
throws IOException
IOExceptionvoid dump() throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionvoid skipObject()
throws IOException
IOExceptionint getLast()
void setLast(int last)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics