hep.io.root
Interface RootInput
- All Superinterfaces:
- DataInput
- All Known Implementing Classes:
- RootInputStream, RootRandomAccessFile
- public interface RootInput
- extends DataInput
Extension of DataInput with root specific utilities
- Version:
- $Id: RootInput.java,v 1.4 2002/06/12 23:15:13 duns Exp $
- Author:
- Tony Johnson (tonyj@slac.stanford.edu)
Methods inherited from interface java.io.DataInput |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
readString
public String readString()
throws IOException
IOException
readNullTerminatedString
public String readNullTerminatedString(int maxLength)
throws IOException
IOException
readVersion
public int readVersion()
throws IOException
IOException
readVersion
public int readVersion(AbstractRootObject object)
throws IOException
IOException
checkLength
public void checkLength(AbstractRootObject object)
throws IOException
IOException
getPosition
public long getPosition()
throws IOException
IOException
readArray
public int readArray(int[] data)
throws IOException
IOException
readArray
public int readArray(byte[] data)
throws IOException
IOException
readArray
public int readArray(float[] data)
throws IOException
IOException
readArray
public int readArray(double[] data)
throws IOException
IOException
readObject
public RootObjectRepresentation readObject(String type)
throws IOException
IOException
readObjectRef
public RootObjectRepresentation readObjectRef()
throws IOException
IOException
getFactory
public RootClassFactory getFactory()
- Returns:
- The RootClassFactory associated with this stream
getRAF
public RootRandomAccessFile getRAF()
- Returns:
- The RandomAccessFile associated with this stream
Copyright © 2000-2002 FreeHEP, All Rights Reserved.