public final class OpenPlanReader extends AbstractProjectStreamReader
Constructor and Description |
---|
OpenPlanReader() |
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(InputStream is)
Read a single schedule from a file where the contents of the project file
are supplied via an input stream.
|
ProjectFile |
read(org.apache.poi.poifs.filesystem.POIFSFileSystem fs)
Read a single project from the BK3 file represented by the POIFSFileSystem instance.
|
List<ProjectFile> |
readAll(File file)
Default implementation of readAll to support file
formats which do not contain multiple schedules.
|
List<ProjectFile> |
readAll(org.apache.poi.poifs.filesystem.POIFSFileSystem fs)
Read all projects from the BK3 file represented by the POIFSFileSystem instance.
|
read, readAll, readAll
addListenersToProject, addListenersToReader, addProjectListener
public ProjectFile read(InputStream is) throws MPXJException
ProjectReader
is
- InputStream instanceMPXJException
public ProjectFile read(File file) throws MPXJException
ProjectReader
read
in interface ProjectReader
read
in class AbstractProjectStreamReader
file
- File instanceMPXJException
public List<ProjectFile> readAll(File file) throws MPXJException
AbstractProjectStreamReader
readAll
in interface ProjectReader
readAll
in class AbstractProjectStreamReader
file
- File instanceMPXJException
public ProjectFile read(org.apache.poi.poifs.filesystem.POIFSFileSystem fs) throws MPXJException
fs
- POIFSFileSystem instanceMPXJException
public List<ProjectFile> readAll(org.apache.poi.poifs.filesystem.POIFSFileSystem fs) throws MPXJException
fs
- POIFSFileSystem instanceMPXJException
Copyright © 2000–2024 Packwood Software. All rights reserved.