|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.RandomAccessFile
hep.io.root.core.RootRandomAccessFile
| Constructor Summary | |
RootRandomAccessFile(File file,
RootFileReader reader)
|
|
| Method Summary | |
void |
checkLength(AbstractRootObject obj)
|
void |
clearMap()
|
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 obj)
|
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 |
| Methods inherited from class java.io.RandomAccessFile |
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hep.io.root.core.RootInput |
close |
| Methods inherited from interface java.io.DataInput |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
| Constructor Detail |
public RootRandomAccessFile(File file,
RootFileReader reader)
throws IOException
| Method Detail |
public RootClassFactory getFactory()
getFactory in interface RootInput
public void setMap(int keylen)
throws IOException
setMap in interface RootInputIOException
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 RootInput
public int readArray(int[] data)
throws IOException
readArray in interface RootInputIOException
public int readArray(byte[] data)
throws IOException
readArray in interface RootInputIOException
public int readArray(short[] data)
throws IOException
readArray in interface RootInputIOException
public int readArray(float[] data)
throws IOException
readArray in interface RootInputIOException
public int readArray(double[] data)
throws IOException
readArray 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(byte[] data)
throws IOException
readFixedArray in interface RootInputIOException
public void readFixedArray(short[] data)
throws IOException
readFixedArray in interface RootInputIOException
public void readFixedArray(float[] data)
throws IOException
readFixedArray in interface RootInputIOException
public void readFixedArray(double[] data)
throws IOException
readFixedArray in interface RootInputIOException
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 String readString()
throws IOException
readString in interface RootInputIOException
public int readVersion()
throws IOException
readVersion in interface RootInputIOException
public int readVersion(AbstractRootObject obj)
throws IOException
readVersion in interface RootInputIOException
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 double readTwistedDouble()
throws IOException
RootInput
readTwistedDouble in interface RootInputIOException
public void dump()
throws IOException
RootInput
dump in interface RootInputIOException
public void skipObject()
throws IOException
RootInput
skipObject in interface RootInputIOException
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||