Class GetSerializedPosition
java.lang.Object
org.deltava.dao.file.DAO
org.deltava.dao.file.GetSerializedPosition
A Data Access Object to deserialize ACARS/XACARS position records.
- Since:
- 4.1
- Version:
- 11.5
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReads the data format used to serialize a set of position entries.SequencedCollection
<? extends RouteEntry> read()
Deserializes ACARS/XACARS position reports.Methods inherited from class org.deltava.dao.file.DAO
getReader, getStream, setBufferSize
-
Constructor Details
-
GetSerializedPosition
Initializes the Data Access Object.- Parameters:
is
- the InputStream to read from
-
-
Method Details
-
getFormat
Reads the data format used to serialize a set of position entries.- Returns:
- a SerializedDataFormat enum, or null if unknown
- Throws:
DAOException
- if an I/O error occurs
-
read
Deserializes ACARS/XACARS position reports.- Returns:
- a Collection of RouteEntry beans
- Throws:
DAOException
- if an I/O error occurs
-