faa.tg.scenario.importer
Class NfdcIlsImporter
java.lang.Object
faa.tg.scenario.importer.NfdcIlsImporter
- All Implemented Interfaces:
- Importer<ILS>
public class NfdcIlsImporter
- extends java.lang.Object
- implements Importer<ILS>
The NfdcIlsImporter class will read ils data from
the URL specified in the provided Properties
object given at instantiation.
"IlsImporterURL" should contain this URL.
See the source: NfdcIlsImporter.java
- Version:
- $Id: NfdcIlsImporter.java,v 3.4 2008/10/27 13:57:44 lykensj Exp $
- Author:
- Michael E. Ross
- See Also:
Properties,
faa.tg.
|
Constructor Summary |
NfdcIlsImporter(java.util.Properties props)
This method will construct a NfdcIlsImporter object with
the given Properties. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CVS_VERSION_ID
public static final java.lang.String CVS_VERSION_ID
- The CVS Version ID
- See Also:
- Constant Field Values
br
private java.io.BufferedReader br
ilsHash
private java.util.Hashtable<java.lang.String,ILS> ilsHash
ilsEnumeration
private java.util.Enumeration<ILS> ilsEnumeration
NfdcIlsImporter
public NfdcIlsImporter(java.util.Properties props)
throws java.net.MalformedURLException,
java.io.IOException
- This method will construct a NfdcIlsImporter object with
the given Properties.
- Parameters:
props - - a Properties object containing the URL to be used.
- Throws:
java.net.MalformedURLException
java.io.IOException
buildIlsEnumeration
private void buildIlsEnumeration()
getNext
public ILS getNext()
- This method returns the next ils.
If no ils remain, a null is returned.
- Specified by:
getNext in interface Importer<ILS>
- Returns:
- the next ils or null.
main
public static void main(java.lang.String[] args)