public final class PrimaveraDatabaseFileReader extends AbstractProjectFileReader
| Constructor and Description |
|---|
PrimaveraDatabaseFileReader() |
| Modifier and Type | Method and Description |
|---|---|
EPS |
listEps(File file)
Retrieve an instance of the EPS class, allowing the hierarchy of EpsNode
and EpsProjectNodes to be traversed.
|
Map<Integer,String> |
listProjects(File file)
Retrieve a map containing details of the projects available in this database.
|
ProjectFile |
read(File file)
Read a single schedule from a file where a File instance is supplied.
|
List<ProjectFile> |
readAll(File file)
Default implementation of readAll.
|
void |
setProjectID(int projectID)
Set the ID of the project to be read.
|
read, read, readAll, readAlladdListenersToContext, addListenersToProject, addListenersToReader, addProjectListenerpublic Map<Integer,String> listProjects(File file) throws MPXJException
file - database fileMPXJExceptionpublic EPS listEps(File file) throws MPXJException
file - database fileMPXJExceptionpublic void setProjectID(int projectID)
projectID - project IDpublic ProjectFile read(File file) throws MPXJException
ProjectReaderfile - File instanceMPXJExceptionpublic List<ProjectFile> readAll(File file) throws MPXJException
AbstractProjectFileReaderreadAll in interface ProjectReaderreadAll in class AbstractProjectFileReaderfile - File instanceMPXJExceptionCopyright © 2000–2025 MPXJ. All rights reserved.