class RRDFile extends Object implements Constants
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(String name) throws IOException
IOException
RRDFile(File file) throws IOException
IOException
boolean isBigEndian()
int getAlignment()
double readDouble()
int readInt()
int readLong()
String readString(int maxLength)
void skipBytes(int n)
int align(int boundary)
int align()
long info()
long getFilePointer()
void close() throws IOException
IOException
void read(ByteBuffer bb)
UnivalArray getUnivalArray(int size)
int getBits()
public void seek(long position)
public void seekToEndOfFile()