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() throws IOException
IOException
int readInt() throws IOException
IOException
int readLong() throws IOException
IOException
String readString(int maxLength) throws IOException
IOException
void skipBytes(int n) throws IOException
IOException
int align(int boundary) throws IOException
IOException
int align() throws IOException
IOException
long info() throws IOException
IOException
long getFilePointer() throws IOException
IOException
void close() throws IOException
IOException
void read(ByteBuffer bb) throws IOException
IOException
UnivalArray getUnivalArray(int size) throws IOException
IOException
int getBits()
public void seek(long position)
public void seekToEndOfFile()