public final class MPXReader extends AbstractProjectReader
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MPXReader.DeferredRelationship
This class is used to collect relationship data awaiting
deferred processing.
|
| Constructor and Description |
|---|
MPXReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProjectListener(ProjectListener listener)
Add a listener to receive events as a project is being read.
|
boolean |
getIgnoreTextModels()
Retrieves the flag indicating that the text version of the Task and
Resource Table Definition records should be ignored.
|
Locale |
getLocale()
This method returns the locale used by this MPX file.
|
Locale[] |
getSupportedLocales()
Retrieves an array of locales supported by this class.
|
ProjectFile |
read(InputStream is)
Read a file where the contents of the project file
are supplied via an input stream.
|
void |
setIgnoreTextModels(boolean flag)
This method sets the flag indicating that the text version of the
Task and Resource Table Definition records should be ignored.
|
void |
setLocale(Locale locale)
This method sets the locale to be used by this MPX file.
|
read, readpublic void addProjectListener(ProjectListener listener)
listener - ProjectListener instancepublic ProjectFile read(InputStream is) throws MPXJException
is - InputStream instanceMPXJExceptionpublic Locale getLocale()
public void setLocale(Locale locale)
locale - locale to be usedpublic Locale[] getSupportedLocales()
public void setIgnoreTextModels(boolean flag)
flag - Boolean flagpublic boolean getIgnoreTextModels()
Copyright © 2013. All Rights Reserved.