|
||||||||||
| 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.mspdi.MSPDIReader
public final class MSPDIReader
This class creates a new ProjectFile instance by reading an MSPDI file.
| Constructor Summary | |
|---|---|
MSPDIReader()
|
|
| Method Summary | |
|---|---|
void |
addProjectListener(ProjectListener listener)
Add a listener to receive events as a project is being read. |
boolean |
getMicrosoftProjectCompatibleInput()
Retrieves a flag indicating that this class will attempt to correct and read XML which is not compliant with the XML Schema. |
ProjectFile |
read(InputStream stream)
Read a file where the contents of the project file are supplied via an input stream. |
void |
setMicrosoftProjectCompatibleInput(boolean flag)
Sets a flag indicating that this class will attempt to correct and read XML which is not compliant with the XML Schema. |
| 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 MSPDIReader()
| Method Detail |
|---|
public void addProjectListener(ProjectListener listener)
listener - ProjectListener instance
public ProjectFile read(InputStream stream)
throws MPXJException
stream - InputStream instance
MPXJExceptionpublic void setMicrosoftProjectCompatibleInput(boolean flag)
flag - input compatibility flagpublic boolean getMicrosoftProjectCompatibleInput()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||