Package org.jrobin.core
Class XmlReader
- java.lang.Object
-
- org.jrobin.core.DataImporter
-
- org.jrobin.core.XmlReader
-
class XmlReader extends DataImporter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) double
getAccumValue(int dsIndex)
(package private) int
getArcCount()
(package private) String
getConsolFun(int arcIndex)
(package private) int
getDsCount()
(package private) String
getDsName(int dsIndex)
(package private) String
getDsType(int dsIndex)
(package private) long
getHeartbeat(int dsIndex)
(package private) long
getLastUpdateTime()
(package private) double
getLastValue(int dsIndex)
(package private) double
getMaxValue(int dsIndex)
(package private) double
getMinValue(int dsIndex)
(package private) long
getNanSeconds(int dsIndex)
(package private) int
getRows(int arcIndex)
(package private) double
getStateAccumValue(int arcIndex, int dsIndex)
(package private) int
getStateNanSteps(int arcIndex, int dsIndex)
(package private) long
getStep()
(package private) int
getSteps(int arcIndex)
(package private) double[]
getValues(int arcIndex, int dsIndex)
(package private) String
getVersion()
(package private) double
getXff(int arcIndex)
-
Methods inherited from class org.jrobin.core.DataImporter
getEstimatedSize, release
-
-
-
-
Constructor Detail
-
XmlReader
XmlReader(String xmlFilePath) throws IOException, RrdException
- Throws:
IOException
RrdException
-
-
Method Detail
-
getVersion
String getVersion() throws RrdException
- Specified by:
getVersion
in classDataImporter
- Throws:
RrdException
-
getLastUpdateTime
long getLastUpdateTime() throws RrdException
- Specified by:
getLastUpdateTime
in classDataImporter
- Throws:
RrdException
-
getStep
long getStep() throws RrdException
- Specified by:
getStep
in classDataImporter
- Throws:
RrdException
-
getDsCount
int getDsCount()
- Specified by:
getDsCount
in classDataImporter
-
getArcCount
int getArcCount()
- Specified by:
getArcCount
in classDataImporter
-
getDsName
String getDsName(int dsIndex) throws RrdException
- Specified by:
getDsName
in classDataImporter
- Throws:
RrdException
-
getDsType
String getDsType(int dsIndex) throws RrdException
- Specified by:
getDsType
in classDataImporter
- Throws:
RrdException
-
getHeartbeat
long getHeartbeat(int dsIndex) throws RrdException
- Specified by:
getHeartbeat
in classDataImporter
- Throws:
RrdException
-
getMinValue
double getMinValue(int dsIndex) throws RrdException
- Specified by:
getMinValue
in classDataImporter
- Throws:
RrdException
-
getMaxValue
double getMaxValue(int dsIndex) throws RrdException
- Specified by:
getMaxValue
in classDataImporter
- Throws:
RrdException
-
getLastValue
double getLastValue(int dsIndex) throws RrdException
- Specified by:
getLastValue
in classDataImporter
- Throws:
RrdException
-
getAccumValue
double getAccumValue(int dsIndex) throws RrdException
- Specified by:
getAccumValue
in classDataImporter
- Throws:
RrdException
-
getNanSeconds
long getNanSeconds(int dsIndex) throws RrdException
- Specified by:
getNanSeconds
in classDataImporter
- Throws:
RrdException
-
getConsolFun
String getConsolFun(int arcIndex) throws RrdException
- Specified by:
getConsolFun
in classDataImporter
- Throws:
RrdException
-
getXff
double getXff(int arcIndex) throws RrdException
- Specified by:
getXff
in classDataImporter
- Throws:
RrdException
-
getSteps
int getSteps(int arcIndex) throws RrdException
- Specified by:
getSteps
in classDataImporter
- Throws:
RrdException
-
getStateAccumValue
double getStateAccumValue(int arcIndex, int dsIndex) throws RrdException
- Specified by:
getStateAccumValue
in classDataImporter
- Throws:
RrdException
-
getStateNanSteps
int getStateNanSteps(int arcIndex, int dsIndex) throws RrdException
- Specified by:
getStateNanSteps
in classDataImporter
- Throws:
RrdException
-
getRows
int getRows(int arcIndex) throws RrdException
- Specified by:
getRows
in classDataImporter
- Throws:
RrdException
-
getValues
double[] getValues(int arcIndex, int dsIndex) throws RrdException
- Specified by:
getValues
in classDataImporter
- Throws:
RrdException
-
-