Class GetAUSOTs
java.lang.Object
org.deltava.dao.http.DAO
org.deltava.dao.http.TrackDAO
org.deltava.dao.http.GetAUSOTs
A Data Access Object to get Australian Track data.
- Since:
- 2.7
- Version:
- 10.3
- Author:
- Luke
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the AUSOT information.Returns the Waypoints for each Australian Track.Methods inherited from class org.deltava.dao.http.DAO
getCompression, getHeaderField, getIn, getOut, getResponseCode, init, reset, setAuthentication, setCompression, setConnectTimeout, setMethod, setReadTimeout, setRequestHeader, setReturnErrorStream
-
Constructor Details
-
GetAUSOTs
Initializes the Data Access Object.- Parameters:
url
- the URL to fetch from
-
-
Method Details
-
getTrackInfo
Retrieves the AUSOT information.- Specified by:
getTrackInfo
in classTrackDAO
- Returns:
- a String with the formatted AUSOT data
- Throws:
DAOException
- if an I/O error occurs
-
getWaypoints
Returns the Waypoints for each Australian Track.- Specified by:
getWaypoints
in classTrackDAO
- Returns:
- a Map of
OceanicTrack
beans, keyed by track code - Throws:
DAOException
- if an I/O error occurs
-