|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ValuesEntry
A ValuesEntry represents data acquired at certain points in time. Points in time are determined by sample number using a specific sampleRate.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.unisens.MeasurementEntry |
|---|
getAdcResolution, getAdcZero, getBaseline, getChannelCount, getChannelNames, getDataType, getLsbValue, getUnit, setAdcProperties, setAdcResolution, setAdcZero, setBaseline, setChannelNames, setDataType, setLsbValue, setUnit |
| Methods inherited from interface org.unisens.TimedEntry |
|---|
getCount, getSampleRate, resetPos, setSampleRate |
| Methods inherited from interface org.unisens.Entry |
|---|
addCustomAttribute, clone, close, createBinFileFormat, createCsvFileFormat, createCustomFileFormat, createXmlFileFormat, getComment, getContentClass, getCustomAttributes, getFileFormat, getId, getName, getSource, getSourceId, getUnisens, rename, setComment, setContentClass, setFileFormat, setName, setSource, setSourceId, setUnisens |
| Method Detail |
|---|
Value[] read(long pos,
int length)
throws java.io.IOException
pos - the position/row to start fromlength - number of rows to read
java.io.IOException
Value[] read(int length)
throws java.io.IOException
length - number of rows to read
java.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 append
java.lang.IllegalArgumentException
java.io.IOException
void append(Value[] data)
throws java.lang.IllegalArgumentException,
java.io.IOException
data - the Values to append
java.lang.IllegalArgumentException
java.io.IOException
void appendValuesList(ValueList valueList)
throws java.io.IOException,
java.lang.IllegalArgumentException
valueList - the ValuesList to append
java.io.IOException
java.lang.IllegalArgumentException
ValueList readValuesList(int length)
throws java.io.IOException
length - number of rows to read
java.io.IOException
ValueList readValuesList(long pos,
int length)
throws java.io.IOException
pos - the position/row to start fromlength - number of rows to read
java.io.IOException
ValueList readValuesListScaled(int length)
throws java.io.IOException
length - number of rows to read
java.io.IOException
ValueList readValuesListScaled(long pos,
int length)
throws java.io.IOException
pos - the position/row to start fromlength - number of rows to read
java.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||