|
jAER project on SourceForge | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InputDataFileInterface
A general interface for input data files of finite length that can be rewound, positioned, marked, etc. A data file has units of data, e.g. events for AE data, frames for frame-based data.
| Method Summary | |
|---|---|
float |
getFractionalPosition()
|
void |
mark()
mark the current position. |
int |
position()
return position in events |
void |
position(int n)
set position in units of the file, e.g. |
void |
rewind()
rewind to the start, or to the marked position, if it has been set |
void |
setFractionalPosition(float frac)
Sets fractional position in units of the file |
long |
size()
|
void |
unmark()
clear any marked position |
| Method Detail |
|---|
float getFractionalPosition()
void mark()
throws java.io.IOException
java.io.IOException - if there is some error in reading the dataint position()
void position(int n)
n - the number to position to
void rewind()
throws java.io.IOException
java.io.IOExceptionvoid setFractionalPosition(float frac)
frac - 0-1 float range, 0 at start, 1 at endlong size()
void unmark()
|
jAER project on SourceForge | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||