Class GetSerializedRoute
java.lang.Object
org.deltava.dao.file.DAO
org.deltava.dao.file.GetSerializedRoute
A Data Access Object to read serialized route data.
- Since:
- 7.0
- Version:
- 11.0
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DAO
getReader, getStream, setBufferSizeModifier and TypeMethodDescriptionprotected LineNumberReaderReturns a reader suitable for text reads on the HTTP connection.protected InputStreamReturns the input stream used for input.voidsetBufferSize(int size) Sets the buffer size for the connection.
-
Constructor Details
-
GetSerializedRoute
Initializes the Data Access Object.- Parameters:
is- the InputStream to read from
-
-
Method Details
-
read
Deserializes ACARS route entries.- Returns:
- an ArchivedRoute bean
- Throws:
DAOException- if an I/O error occurs
-