class RRDFile extends Object implements Constants
Currently this can read RRD files that were generated on Solaris (Sparc) and Linux (x86).
CF_NAM_SIZE, COOKIE, DS_NAM_SIZE, DST_SIZE, FLOAT_COOKIE, LAST_DS_LEN, MAX_SUPPORTED_VERSION, SIZE_OF_DOUBLE, UNDEFINED_VERSION, UNDEFINED_VERSION_AS_INT, VERSION_WITH_LAST_UPDATE_SEC| Constructor and Description |
|---|
RRDFile(File file) |
RRDFile(String name) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
align() |
(package private) int |
align(int boundary) |
(package private) void |
close() |
(package private) int |
getAlignment() |
(package private) int |
getBits() |
(package private) long |
getFilePointer() |
(package private) UnivalArray |
getUnivalArray(int size) |
(package private) long |
info() |
(package private) boolean |
isBigEndian() |
(package private) void |
read(ByteBuffer bb) |
(package private) double |
readDouble() |
(package private) int |
readInt() |
(package private) int |
readLong() |
(package private) String |
readString(int maxLength) |
void |
seek(long position) |
void |
seekToEndOfFile() |
(package private) void |
skipBytes(int n) |
RRDFile(File file) throws IOException
IOExceptionRRDFile(String name) throws IOException
IOExceptionint align()
int align(int boundary)
void close()
throws IOException
IOExceptionint getAlignment()
int getBits()
long getFilePointer()
UnivalArray getUnivalArray(int size)
long info()
boolean isBigEndian()
void read(ByteBuffer bb)
double readDouble()
int readInt()
int readLong()
String readString(int maxLength)
public void seek(long position)
public void seekToEndOfFile()
void skipBytes(int n)