public interface ProjectReader
| Modifier and Type | Method and Description |
|---|---|
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.
|
void addProjectListener(ProjectListener listener)
listener - ProjectListener instanceProjectFile read(String fileName) throws MPXJException
fileName - file nameMPXJExceptionProjectFile read(File file) throws MPXJException
file - File instanceMPXJExceptionProjectFile read(InputStream inputStream) throws MPXJException
inputStream - InputStream instanceMPXJExceptionCopyright © 2013. All Rights Reserved.