|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthep.io.root.core.FastInputStream
| Constructor Summary | |
FastInputStream(RootFileReader rfr,
RandomAccessFile raf)
|
|
| Method Summary | |
void |
checkLength(AbstractRootObject obj)
|
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)
|
boolean |
readBoolean()
|
byte |
readByte()
|
char |
readChar()
|
double |
readDouble()
|
void |
readFixedArray(byte[] data)
|
void |
readFixedArray(double[] data)
|
void |
readFixedArray(float[] data)
|
void |
readFixedArray(int[] data)
|
void |
readFixedArray(long[] data)
|
void |
readFixedArray(short[] data)
|
float |
readFloat()
|
void |
readFully(byte[] values)
|
void |
readFully(byte[] values,
int param,
int param2)
|
int |
readInt()
|
String |
readLine()
|
long |
readLong()
|
void |
readMultiArray(Object[] array)
|
String |
readNullTerminatedString(int maxLength)
|
RootObject |
readObject(String type)
|
RootObject |
readObjectRef()
|
short |
readShort()
|
String |
readString()
|
double |
readTwistedDouble()
Reads a double in strange byte order? |
int |
readUnsignedByte()
|
int |
readUnsignedShort()
|
String |
readUTF()
|
int |
readVersion()
|
int |
readVersion(AbstractRootObject obj)
|
void |
setMap(int offset)
|
void |
setPosition(long pos)
|
int |
skipBytes(int param)
|
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FastInputStream(RootFileReader rfr,
RandomAccessFile raf)
throws IOException
| Method Detail |
public RootClassFactory getFactory()
getFactory in interface RootInputpublic void setMap(int offset)
setMap in interface RootInput
public void setPosition(long pos)
throws IOException
setPosition in interface RootInputIOException
public long getPosition()
throws IOException
getPosition in interface RootInputIOExceptionpublic int getRootVersion()
RootInput
getRootVersion in interface RootInputpublic RootInput getTop()
RootInput
getTop in interface RootInput
public void checkLength(AbstractRootObject obj)
throws IOException
checkLength in interface RootInputIOExceptionpublic void clearMap()
clearMap in interface RootInputpublic void dump()
RootInput
dump in interface RootInput
public int readArray(short[] data)
throws IOException
readArray in interface RootInputIOException
public int readArray(byte[] data)
throws IOException
readArray in interface RootInputIOException
public int readArray(double[] data)
throws IOException
readArray in interface RootInputIOException
public int readArray(float[] data)
throws IOException
readArray in interface RootInputIOException
public int readArray(int[] data)
throws IOException
readArray in interface RootInputIOException
public boolean readBoolean()
throws IOException
readBoolean in interface DataInputIOException
public byte readByte()
throws IOException
readByte in interface DataInputIOException
public char readChar()
throws IOException
readChar in interface DataInputIOException
public double readDouble()
throws IOException
readDouble in interface DataInputIOException
public double readTwistedDouble()
throws IOException
RootInput
readTwistedDouble in interface RootInputIOException
public void readFixedArray(byte[] data)
throws IOException
readFixedArray in interface RootInputIOException
public void readFixedArray(double[] data)
throws IOException
readFixedArray in interface RootInputIOException
public void readFixedArray(int[] data)
throws IOException
readFixedArray in interface RootInputIOException
public void readFixedArray(long[] data)
throws IOException
readFixedArray in interface RootInputIOException
public void readFixedArray(float[] data)
throws IOException
readFixedArray in interface RootInputIOException
public void readFixedArray(short[] data)
throws IOException
readFixedArray in interface RootInputIOException
public float readFloat()
throws IOException
readFloat in interface DataInputIOException
public void readFully(byte[] values)
throws IOException
readFully in interface DataInputIOException
public void readFully(byte[] values,
int param,
int param2)
throws IOException
readFully in interface DataInputIOException
public int readInt()
throws IOException
readInt in interface DataInputIOException
public String readLine()
throws IOException
readLine in interface DataInputIOException
public long readLong()
throws IOException
readLong in interface DataInputIOException
public void readMultiArray(Object[] array)
throws IOException
readMultiArray in interface RootInputIOException
public String readNullTerminatedString(int maxLength)
throws IOException
readNullTerminatedString in interface RootInputIOException
public RootObject readObject(String type)
throws IOException
readObject in interface RootInputIOException
public RootObject readObjectRef()
throws IOException
readObjectRef in interface RootInputIOException
public short readShort()
throws IOException
readShort in interface DataInputIOException
public String readString()
throws IOException
readString in interface RootInputIOException
public String readUTF()
throws IOException
readUTF in interface DataInputIOException
public int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputIOException
public int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputIOException
public int readVersion()
throws IOException
readVersion in interface RootInputIOException
public int readVersion(AbstractRootObject obj)
throws IOException
readVersion in interface RootInputIOException
public void skipObject()
throws IOException
RootInput
skipObject in interface RootInputIOException
public int skipBytes(int param)
throws IOException
skipBytes in interface DataInputIOException
public RootInput slice(int size)
throws IOException
RootInput
slice in interface RootInputsize - The size of the slice.
IOException
public RootInput slice(int inSize,
int outSize)
throws IOException
RootInput
slice in interface RootInputIOException
public void close()
throws IOException
close in interface RootInputIOException
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||