Documentation of 'hep.rootio.implementation.RootRandomAccessFile' Java class
RootRandomAccessFile
hep.rootio.implementation

Class RootRandomAccessFile

  • All Implemented Interfaces:
    RootInput, java.io.Closeable, java.io.DataInput, java.io.DataOutput, java.lang.AutoCloseable


    public class RootRandomAccessFile
    extends java.io.RandomAccessFile
    implements RootInput
    • Constructor Detail

      • RootRandomAccessFile

        public RootRandomAccessFile(java.io.File file,
                                    RootFileReader reader)
                             throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • readString

        public java.lang.String readString()
                                    throws java.io.IOException
        Specified by:
        readString in interface RootInput
        Throws:
        java.io.IOException
      • readNullTerminatedString

        public java.lang.String readNullTerminatedString(int maxLength)
                                                  throws java.io.IOException
        Specified by:
        readNullTerminatedString in interface RootInput
        Throws:
        java.io.IOException
      • readVersion

        public int readVersion()
                        throws java.io.IOException
        Specified by:
        readVersion in interface RootInput
        Throws:
        java.io.IOException
      • readArray

        public int readArray(int[] data)
                      throws java.io.IOException
        Specified by:
        readArray in interface RootInput
        Throws:
        java.io.IOException
      • readArray

        public int readArray(byte[] data)
                      throws java.io.IOException
        Specified by:
        readArray in interface RootInput
        Throws:
        java.io.IOException
      • readArray

        public int readArray(float[] data)
                      throws java.io.IOException
        Specified by:
        readArray in interface RootInput
        Throws:
        java.io.IOException
      • readArray

        public int readArray(double[] data)
                      throws java.io.IOException
        Specified by:
        readArray in interface RootInput
        Throws:
        java.io.IOException
      • getPosition

        public long getPosition()
                         throws java.io.IOException
        Specified by:
        getPosition in interface RootInput
        Throws:
        java.io.IOException
      • clearMap

        public void clearMap()
      • setMap

        public void setMap(int keylen)
                    throws java.io.IOException
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.