|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
com.oziexplorer.DataFile<Event>
com.oziexplorer.EventFile
public class EventFile
Read and write OziExplorer event files.
| Field Summary | |
|---|---|
protected String |
datum
The event file datum. |
protected int |
reserved1
Reserved field 1 - unknown use. |
protected int |
reserved2
Reserved field 2 - unknown use. |
| Fields inherited from class com.oziexplorer.DataFile |
|---|
C, L, SepRE, T |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
EventFile()
Create a new event file reader/writer. |
|
| Method Summary | |
|---|---|
void |
clear()
Clear any current contents of the track. |
String |
getDatum()
Get the event file datum. |
int |
getReserved1()
Get the value of the reserved field 1. |
int |
getReserved2()
Get the value of the reserved field 2. |
void |
read(File file)
Read a track log from the specified File. |
void |
read(InputStream input)
Read a track log from the specified InputStream. |
void |
read(String file)
Read a track log from the specified file. |
void |
setDatum(String datum)
Set the event file datum. |
void |
setReserved1(int reserved1)
Set the value of the reserved field 1. |
void |
setReserved2(int reserved2)
Set the value of the reserved field 2. |
void |
write(File file)
Write a track log to the specified File. |
void |
write(OutputStream output)
Write a track log to the specified OutputStream. |
void |
write(String file)
Write a track log to the specified file. |
| Methods inherited from class com.oziexplorer.DataFile |
|---|
calendarToOziDate, escapeCommas, getDate, getDouble, getInt, getString, newOziException, newOziException, newScanner, oziDateToCalendar, skipNext, unescapeCommas |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Field Detail |
|---|
protected String datum
protected int reserved1
protected int reserved2
| Constructor Detail |
|---|
public EventFile()
| Method Detail |
|---|
public void clear()
clear in interface Collection<Event>clear in interface List<Event>clear in class ArrayList<Event>
public void read(File file)
throws OziException
File.
file - the file to read from.
OziException - if there is a problem reading the file.
public void read(String file)
throws OziException
file - the file to read from.
OziException - if there is a problem reading the file.
public void read(InputStream input)
throws OziException
InputStream.
input - the input stream to read from.
OziException - if there is a problem reading the file.
public void write(File file)
throws OziException
File.
file - the file to write to.
OziException - if there is a problem writing the file.
public void write(String file)
throws OziException
file - the file to write to.
OziException - if there is a problem writing the file.
public void write(OutputStream output)
throws OziException
OutputStream.
output - the input stream to write to.
OziException - if there is a problem writing the file.public String getDatum()
public void setDatum(String datum)
datum - the event file datum.public int getReserved1()
public void setReserved1(int reserved1)
reserved1 - the value of the reserved field 1.public int getReserved2()
public void setReserved2(int reserved2)
reserved2 - the value of the reserved field 2.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||