|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--reservations.ItineraryReader
A helper class designed to read a file of flight destinations
| Constructor Summary | |
ItineraryReader()
Creates an object that reads Itinerary information from the default input source. |
|
ItineraryReader(java.lang.String filename)
Creates an object that reads Itinerary information from the named file. |
|
ItineraryReader(java.net.URL url)
Creates an object that reads Itinerary information from the indicated URL. |
|
| Method Summary | |
java.util.Iterator |
iterator()
Returns an Iterator for the set of Itineraries being read by the ItineraryReader. |
Itinerary |
nextItinerary()
Returns the next Itinerary object from the input source. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ItineraryReader()
throws java.io.IOException
public ItineraryReader(java.net.URL url)
throws java.io.IOException
public ItineraryReader(java.lang.String filename)
throws java.io.FileNotFoundException
| Method Detail |
public Itinerary nextItinerary()
public java.util.Iterator iterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||