public class RootDaemonInputStream extends DataInputStream implements RootInput
| Constructor and Description |
|---|
RootDaemonInputStream(DaemonInputStream source,
RootFileReader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkLength(AbstractRootObject obj) |
void |
clearMap() |
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?
|
boolean[] |
readVarWidthArrayBoolean() |
byte[] |
readVarWidthArrayByte() |
double[] |
readVarWidthArrayDouble() |
float[] |
readVarWidthArrayFloat() |
int[] |
readVarWidthArrayInt() |
short[] |
readVarWidthArrayShort() |
int |
readVersion() |
int |
readVersion(AbstractRootObject obj) |
void |
setLast(int last) |
void |
setMap(int keylen) |
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
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytespublic RootDaemonInputStream(DaemonInputStream source, RootFileReader reader) throws IOException
IOExceptionpublic RootClassFactory getFactory()
getFactory in interface RootInputpublic void setMap(int keylen)
throws IOException
setMap in interface RootInputIOExceptionpublic void setPosition(long pos)
throws IOException
setPosition in interface RootInputIOExceptionpublic long getPosition()
throws IOException
getPosition in interface RootInputIOExceptionpublic int getRootVersion()
RootInputgetRootVersion in interface RootInputpublic RootInput getTop()
RootInputpublic void checkLength(AbstractRootObject obj) throws IOException
checkLength in interface RootInputIOExceptionpublic int[] readVarWidthArrayInt()
throws IOException
IOExceptionpublic byte[] readVarWidthArrayByte()
throws IOException
IOExceptionpublic short[] readVarWidthArrayShort()
throws IOException
IOExceptionpublic float[] readVarWidthArrayFloat()
throws IOException
IOExceptionpublic double[] readVarWidthArrayDouble()
throws IOException
IOExceptionpublic boolean[] readVarWidthArrayBoolean()
throws IOException
IOExceptionpublic int readArray(int[] data)
throws IOException
readArray in interface RootInputIOExceptionpublic int readArray(byte[] data)
throws IOException
readArray in interface RootInputIOExceptionpublic int readArray(short[] data)
throws IOException
readArray in interface RootInputIOExceptionpublic int readArray(float[] data)
throws IOException
readArray in interface RootInputIOExceptionpublic int readArray(double[] data)
throws IOException
readArray in interface RootInputIOExceptionpublic void readFixedArray(int[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readFixedArray(long[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readFixedArray(byte[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readFixedArray(short[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readFixedArray(float[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readFixedArray(double[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readMultiArray(Object[] array) throws IOException
readMultiArray in interface RootInputIOExceptionpublic String readNullTerminatedString(int maxLength) throws IOException
readNullTerminatedString in interface RootInputIOExceptionpublic RootObject readObject(String type) throws IOException
readObject in interface RootInputIOExceptionpublic RootObject readObjectRef() throws IOException
readObjectRef in interface RootInputIOExceptionpublic String readString() throws IOException
readString in interface RootInputIOExceptionpublic int readVersion()
throws IOException
readVersion in interface RootInputIOExceptionpublic int readVersion(AbstractRootObject obj) throws IOException
readVersion in interface RootInputIOExceptionpublic RootInput slice(int size) throws IOException
RootInputslice in interface RootInputsize - The size of the slice.IOExceptionpublic RootInput slice(int inSize, int outSize) throws IOException
RootInputslice in interface RootInputIOExceptionpublic double readTwistedDouble()
throws IOException
RootInputreadTwistedDouble in interface RootInputIOExceptionpublic void dump()
throws IOException
RootInputdump in interface RootInputIOExceptionpublic void skipObject()
throws IOException
RootInputskipObject in interface RootInputIOExceptionJas4pp 1.5 © Java Analysis Studio for Particle Physics