|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.reader.AbstractProjectReader
net.sf.mpxj.mpx.MPXReader
public final class MPXReader
This class creates a new ProjectFile instance by reading an MPX file.
| Nested Class Summary | |
|---|---|
protected static class |
MPXReader.DeferredRelationship
This class is used to collect relationship data awaiting deferred processing. |
| Constructor Summary | |
|---|---|
MPXReader()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.sf.mpxj.reader.AbstractProjectReader |
|---|
read, read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MPXReader()
| Method Detail |
|---|
public void addProjectListener(ProjectListener listener)
listener - ProjectListener instance
public ProjectFile read(InputStream is)
throws MPXJException
is - InputStream instance
MPXJExceptionpublic Locale getLocale()
public void setLocale(Locale locale)
locale - locale to be usedpublic Locale[] getSupportedLocales()
public void setIgnoreTextModels(boolean flag)
flag - Boolean flagpublic boolean getIgnoreTextModels()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||