public abstract class AbstractProjectStreamReader extends AbstractProjectReader
Constructor and Description |
---|
AbstractProjectStreamReader() |
Modifier and Type | Method and Description |
---|---|
ProjectFile |
read(File file)
Read a single schedule from a file where a File instance is supplied.
|
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 to support file
formats which do not contain multiple schedules.
|
List<ProjectFile> |
readAll(InputStream inputStream)
Default implementation of readAll.
|
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(File file) throws MPXJException
ProjectReader
file
- File instanceMPXJException
public List<ProjectFile> readAll(File file) throws MPXJException
file
- File instanceMPXJException
public List<ProjectFile> readAll(InputStream inputStream) throws MPXJException
inputStream
- InputStream instanceMPXJException
Copyright © 2000–2024 Packwood Software. All rights reserved.