public final class MPXReader extends AbstractProjectStreamReader
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 |
---|---|
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.
|
static Locale[] |
getSupportedLocales()
Retrieves an array of locales supported by this class.
|
ProjectFile |
read(InputStream is)
Read a single schedule from 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, read, readAll, readAll, readAll
addListenersToProject, addListenersToReader, addProjectListener
public ProjectFile read(InputStream is) throws MPXJException
ProjectReader
is
- InputStream instanceMPXJException
public Locale getLocale()
public void setLocale(Locale locale)
locale
- locale to be usedpublic static Locale[] getSupportedLocales()
public void setIgnoreTextModels(boolean flag)
flag
- Boolean flagpublic boolean getIgnoreTextModels()
Copyright © 2000–2024 Packwood Software. All rights reserved.