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 single schedule from a file where a File instance is supplied.
|
ProjectFile |
read(InputStream inputStream)
Read a single schedule from a file where the contents of the project file
are supplied via an input stream.
|
ProjectFile |
read(String fileName)
Read a single schedule from a file where the file name is supplied.
|
List<ProjectFile> |
readAll(File file)
Read all schedules from a file where a File instance is supplied.
|
List<ProjectFile> |
readAll(InputStream inputStream)
Read all schedules from a file where the contents of the project file
are supplied via an input stream.
|
List<ProjectFile> |
readAll(String fileName)
Read all schedules from a file where the file name is supplied.
|
void addProjectListener(ProjectListener listener)
listener - ProjectListener instanceProjectFile read(String fileName) throws MPXJException
fileName - file nameMPXJExceptionList<ProjectFile> readAll(String fileName) throws MPXJException
fileName - file nameMPXJExceptionProjectFile read(File file) throws MPXJException
file - File instanceMPXJExceptionList<ProjectFile> readAll(File file) throws MPXJException
file - File instanceMPXJExceptionProjectFile read(InputStream inputStream) throws MPXJException
inputStream - InputStream instanceMPXJExceptionList<ProjectFile> readAll(InputStream inputStream) throws MPXJException
inputStream - InputStream instanceMPXJExceptionCopyright © 2000–2025 MPXJ. All rights reserved.