Class GetFAACharts
java.lang.Object
org.deltava.dao.http.DAO
org.deltava.dao.http.GetFAACharts
A Data Access Object to download FAA chart metadata.
- Since:
- 5.0
- Version:
- 11.1
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChartList
(String url) Loads the FAA chart metadata file.void
load
(ExternalChart ec) Populates an FAA chart.void
Fetches the size of an FAA chart.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
-
GetFAACharts
public GetFAACharts()
-
-
Method Details
-
getChartList
Loads the FAA chart metadata file.- Parameters:
url
- the URL to fetch from- Returns:
- a Map of Collections of ExternalCharts, keyed by Airport
- Throws:
DAOException
- if an error occurs
-
loadSize
Fetches the size of an FAA chart.- Parameters:
ec
- the ExternalChart- Throws:
DAOException
- if an error occurs
-
load
Populates an FAA chart.- Parameters:
ec
- the ExternalChart- Throws:
DAOException
- if an error occurs
-