public interface EventEntry extends AnnotationEntry
Modifier and Type | Method and Description |
---|---|
void |
append(Event event)
Appends an Event to this EventEntry
|
void |
append(java.util.List<Event> events)
Appends a List of Events to this EventEntry
|
java.util.List<Event> |
read(int length)
Reads Events from a data file beginning at the current position of the
file pointer
|
java.util.List<Event> |
read(long position,
int length)
Reads Events from a data file beginning at a given postion
|
empty, getCommentLength, getTypeLength, setCommentLength, setTypeLength
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
void append(Event event) throws java.io.IOException
event
- the Event to appendjava.io.IOException
java.util.List<Event> read(long position, int length) throws java.io.IOException
position
- the position to start fromlength
- the number of Events to readjava.io.IOException
java.util.List<Event> read(int length) throws java.io.IOException
length
- the numer of Events to readjava.io.IOException
void append(java.util.List<Event> events) throws java.io.IOException
events
- java.io.IOException