Class RRDFile

java.lang.Object
org.rrd4j.core.jrrd.RRDFile
All Implemented Interfaces:
Constants

class RRDFile extends Object implements Constants
This class is used read information from an RRD file. Writing to RRD files is not currently supported. It uses NIO's RandomAccessFile to read the file Currently this can read RRD files that were generated on Solaris (Sparc) and Linux (x86).
Version:
$Revision: 1.1 $
Author:
Ciaran Treanor
  • Constructor Details

  • Method Details

    • isBigEndian

      boolean isBigEndian()
    • getAlignment

      int getAlignment()
    • readDouble

      double readDouble()
    • readInt

      int readInt()
    • readLong

      int readLong()
    • readString

      String readString(int maxLength)
    • skipBytes

      void skipBytes(int n)
    • align

      int align(int boundary)
    • align

      int align()
    • info

      long info()
    • getFilePointer

      long getFilePointer()
    • close

      void close() throws IOException
      Throws:
      IOException
    • read

      void read(ByteBuffer bb)
    • getUnivalArray

      UnivalArray getUnivalArray(int size)
    • getBits

      int getBits()
      Returns:
      the long size in bits for this file
    • seek

      public void seek(long position)
    • seekToEndOfFile

      public void seekToEndOfFile()