Constants
public class Header extends java.lang.Object implements Constants
修飾子とタイプ | フィールド | 説明 |
---|---|---|
(package private) int |
dsCount |
|
(package private) int |
intVersion |
|
(package private) static long |
offset |
|
(package private) int |
pdpStep |
|
(package private) int |
rraCount |
|
(package private) long |
size |
|
(package private) java.lang.String |
version |
CF_NAM_SIZE, COOKIE, DS_NAM_SIZE, DST_SIZE, FLOAT_COOKIE, FLOAT_COOKIE_BIG_ENDIAN, FLOAT_COOKIE_LITTLE_ENDIAN, LAST_DS_LEN, VERSION, VERSION3
修飾子とタイプ | メソッド | 説明 |
---|---|---|
int |
getDSCount() |
Returns the number of
DataSource s in the database. |
int |
getIntVersion() |
|
int |
getPDPStep() |
Returns the primary data point interval in seconds.
|
int |
getRRACount() |
Returns the number of
Archive s in the database. |
java.lang.String |
getVersion() |
Returns the version of the database.
|
java.lang.String |
toString() |
Returns a summary the contents of this header.
|
static final long offset
long size
java.lang.String version
int intVersion
int dsCount
int rraCount
int pdpStep
Header(RRDFile file) throws java.io.IOException, RrdException
java.io.IOException
RrdException
public java.lang.String getVersion()
public int getIntVersion()
public int getDSCount()
DataSource
s in the database.DataSource
s in the database.public int getRRACount()
Archive
s in the database.Archive
s in the database.public int getPDPStep()
public java.lang.String toString()
toString
クラス内 java.lang.Object