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.
- Returns:
- a Company root object to which all others are connected
- Throws:
java.io.FileNotFoundException
- when the file cannot be found
java.io.IOException
- when the file cannot be read