public abstract class AbstractProjectFileReader extends AbstractProjectReader
Constructor and Description |
---|
AbstractProjectFileReader() |
Modifier and Type | Method and Description |
---|---|
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)
Default implementation of readAll.
|
List<ProjectFile> |
readAll(InputStream inputStream)
Default implementation of readAll to support file
formats which do not contain multiple schedules.
|
List<ProjectFile> |
readAll(String fileName)
Default implementation of readAll to support file
formats which do not contain multiple schedules.
|
addListenersToProject, addListenersToReader, addProjectListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read
public ProjectFile read(String fileName) throws MPXJException
ProjectReader
fileName
- file nameMPXJException
public List<ProjectFile> readAll(String fileName) throws MPXJException
fileName
- file nameMPXJException
public ProjectFile read(InputStream inputStream) throws MPXJException
ProjectReader
inputStream
- InputStream instanceMPXJException
public List<ProjectFile> readAll(InputStream inputStream) throws MPXJException
inputStream
- InputStream instanceMPXJException
public List<ProjectFile> readAll(File file) throws MPXJException
file
- File instanceMPXJException
Copyright © 2000–2024 Packwood Software. All rights reserved.