|
CSC407/ECE450 Assignment 1b Sample Solution
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
plan.input
Interface FileInput
- All Known Implementing Classes:
- TestInput
- public interface FileInput
Interface for reading input data from a file
Method Summary |
Company |
readFile(java.lang.String filename)
Read objects from the indicated file. |
readFile
public Company readFile(java.lang.String filename)
throws java.io.FileNotFoundException,
java.io.IOException
- Read objects from the indicated file.
- Parameters:
filenane
- the pathname of the file to read- Returns:
- a Company root object to which all others are connected
- Throws:
java.io.FileNotFoundException
- when the file cannot be foundjava.io.IOException
- when the file cannot be read
|
CSC407/ECE450 Assignment 1b Sample Solution
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |