Class 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
    • Method Detail

      • 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()
      • 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()