public interface ValuesEntry extends MeasurementEntry
Modifier and Type | Method and Description |
---|---|
void |
append(Value data)
Appends a Value object to this ValueEntry.
|
void |
append(Value[] data)
Appends an Array of Values object to this ValueEntry
|
void |
appendValuesList(ValueList valueList)
Appends the Values contained in a ValuesList object to this ValueEntry
|
Value[] |
read(int length)
Reads from the data file beginning at the current postion of the file
pointer and presents the data as Array of Value
|
Value[] |
read(long pos,
int length)
Reads from the data file beginning at a given postion and presents the
data as Array of Value
|
Value[] |
readScaled(int length) |
Value[] |
readScaled(long pos,
int length) |
ValueList |
readValuesList(int length)
Reads from the data file beginning at the current position of the file
pointer and presents the data as a ValuesList object.
|
ValueList |
readValuesList(long pos,
int length)
Reads from the data file beginning at a given position and presents the
data as a ValuesList object.
|
ValueList |
readValuesListScaled(int length)
Reads from the data file beginning at the current position of the file
pointer and presents the data as a ValuesList object.
|
ValueList |
readValuesListScaled(long pos,
int length)
Reads from the data file beginning at a given position and presents the
data as a ValuesList object.
|
getAdcResolution, getAdcZero, getBaseline, getChannelCount, getChannelNames, getDataType, getLsbValue, getUnit, setAdcProperties, setAdcResolution, setAdcZero, setBaseline, setChannelNames, setDataType, setLsbValue, setUnit
getCount, getSampleRate, resetPos, setSampleRate
addCustomAttribute, clone, close, createBinFileFormat, createCsvFileFormat, createCustomFileFormat, createXmlFileFormat, getComment, getContentClass, getCustomAttributes, getFileFormat, getId, getName, getSource, getSourceId, getUnisens, rename, setComment, setContentClass, setFileFormat, setName, setSource, setSourceId, setUnisens
Value[] read(long pos, int length) throws java.io.IOException
pos
- the position/row to start fromlength
- number of rows to readjava.io.IOException
Value[] read(int length) throws java.io.IOException
length
- number of rows to readjava.io.IOException
Value[] readScaled(long pos, int length) throws java.io.IOException
java.io.IOException
Value[] readScaled(int length) throws java.io.IOException
java.io.IOException
void append(Value data) throws java.lang.IllegalArgumentException, java.io.IOException
data
- the Value to appendjava.lang.IllegalArgumentException
java.io.IOException
void append(Value[] data) throws java.lang.IllegalArgumentException, java.io.IOException
data
- the Values to appendjava.lang.IllegalArgumentException
java.io.IOException
void appendValuesList(ValueList valueList) throws java.io.IOException, java.lang.IllegalArgumentException
valueList
- the ValuesList to appendjava.io.IOException
java.lang.IllegalArgumentException
ValueList readValuesList(int length) throws java.io.IOException
length
- number of rows to readjava.io.IOException
ValueList readValuesList(long pos, int length) throws java.io.IOException
pos
- the position/row to start fromlength
- number of rows to readjava.io.IOException
ValueList readValuesListScaled(int length) throws java.io.IOException
length
- number of rows to readjava.io.IOException
ValueList readValuesListScaled(long pos, int length) throws java.io.IOException
pos
- the position/row to start fromlength
- number of rows to readjava.io.IOException