|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public RootClassFactory getFactory()
public void setMap(int offset) throws IOException
IOException
public void setPosition(long pos) throws IOException
IOException
public long getPosition() throws IOException
IOException
public int getRootVersion()
public RootInput getTop()
public void checkLength(AbstractRootObject object) throws IOException
IOException
public void clearMap() throws IOException
IOException
public int readArray(int[] data) throws IOException
IOException
public int readArray(byte[] data) throws IOException
IOException
public int readArray(short[] data) throws IOException
IOException
public int readArray(float[] data) throws IOException
IOException
public int readArray(double[] data) throws IOException
IOException
public void readFixedArray(int[] data) throws IOException
IOException
public void readFixedArray(byte[] data) throws IOException
IOException
public void readFixedArray(short[] data) throws IOException
IOException
public void readFixedArray(float[] data) throws IOException
IOException
public void readFixedArray(double[] data) throws IOException
IOException
public void readFixedArray(long[] data) throws IOException
IOException
public void readMultiArray(Object[] array) throws IOException
IOException
public String readNullTerminatedString(int maxLength) throws IOException
IOException
public RootObject readObject(String type) throws IOException
IOException
public RootObject readObjectRef() throws IOException
IOException
public String readString() throws IOException
IOException
public int readVersion() throws IOException
IOException
public int readVersion(AbstractRootObject object) throws IOException
IOException
public RootInput slice(int size) throws IOException
size
- The size of the slice.
IOException
public RootInput slice(int inSize, int outSize) throws IOException
IOException
public double readTwistedDouble() throws IOException
IOException
public void dump() throws IOException
IOException
public void close() throws IOException
IOException
public void skipObject() throws IOException
IOException
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |