|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProjectReader
This interface is implemented by all classes which can read project files of any type and generate an ProjectFile instance from the contents of the file.
| Method Summary | |
|---|---|
void |
addProjectListener(ProjectListener listener)
Add a listener to receive events as a project is being read. |
ProjectFile |
read(File file)
Read a file where a File instance is supplied. |
ProjectFile |
read(InputStream inputStream)
Read a file where the contents of the project file are supplied via an input stream. |
ProjectFile |
read(String fileName)
Read a file where the file name is supplied. |
| Method Detail |
|---|
void addProjectListener(ProjectListener listener)
listener - ProjectListener instance
ProjectFile read(String fileName)
throws MPXJException
fileName - file name
MPXJException
ProjectFile read(File file)
throws MPXJException
file - File instance
MPXJException
ProjectFile read(InputStream inputStream)
throws MPXJException
inputStream - InputStream instance
MPXJException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||