Class DAO
java.lang.Object
org.deltava.dao.file.DAO
- Direct Known Subclasses:
- GetAirspaceDefinition,- GetImportStatus,- GetPDFText,- GetProcData,- GetSerializedOnline,- GetSerializedPosition,- GetSerializedRoute,- GetTiles,- GetVATSIMTransceivers,- GetWAFSData,- OnlineNetworkDAO,- ScheduleLoadDAO,- WriteableDAO
An abstract class to support stream-based Data Access Objects.
- Since:
- 1.0
- Version:
- 9.0
- Author:
- Luke
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedDAO(InputStream is) Initializes the Data Access Object with a particular input stream.
- 
Method SummaryModifier 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- 
DAOInitializes the Data Access Object with a particular input stream.- Parameters:
- is- the input stream
 
 
- 
- 
Method Details- 
setBufferSizepublic void setBufferSize(int size) Sets the buffer size for the connection.- Parameters:
- size- the size in bytes
 
- 
getReaderReturns a reader suitable for text reads on the HTTP connection.- Returns:
- a BufferedReader
 
- 
getStream
 
-