|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AEFileInputStreamInterface
The capabilities of the AEFileInputStream. Used in players that use these input streams. This interface can rewind, go forwards as well as backwards, etc, as when reading from a file.
Method Summary | |
---|---|
boolean |
isNonMonotonicTimeExceptionsChecked()
Checking for wrapped time exceptions can be disabled for reasons of speed or corrupted data files. |
AEPacketRaw |
readPacketByNumber(int n)
Reads a raw event packet of n events |
AEPacketRaw |
readPacketByTime(int dt)
returns an AEPacketRaw at least dt long up to the max size of the buffer or until end-of-file. |
void |
setNonMonotonicTimeExceptionsChecked(boolean yes)
Sets whether the input stream is checked for timestamp nonmonotonicity. |
Methods inherited from interface net.sf.jaer.eventio.InputDataFileInterface |
---|
getFractionalPosition, mark, position, position, rewind, setFractionalPosition, size, unmark |
Method Detail |
---|
AEPacketRaw readPacketByNumber(int n) throws java.io.IOException
n
- the number of events to read
java.io.IOException
- if there is a problem, e.g. end of fileAEPacketRaw readPacketByTime(int dt) throws java.io.IOException
dt
- the timestamp different in units of the timestamp (usually us)
java.io.IOException
- if there is any problemboolean isNonMonotonicTimeExceptionsChecked()
void setNonMonotonicTimeExceptionsChecked(boolean yes)
yes
- true to check (default).
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |