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 nameMPXJException
List<ProjectFile> readAll(String fileName) throws MPXJException
fileName
- file nameMPXJException
ProjectFile read(File file) throws MPXJException
file
- File instanceMPXJException
List<ProjectFile> readAll(File file) throws MPXJException
file
- File instanceMPXJException
ProjectFile read(InputStream inputStream) throws MPXJException
inputStream
- InputStream instanceMPXJException
List<ProjectFile> readAll(InputStream inputStream) throws MPXJException
inputStream
- InputStream instanceMPXJException
Copyright © 2000–2024 Packwood Software. All rights reserved.