|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.writer.AbstractProjectWriter
net.sf.mpxj.mspdi.MSPDIWriter
public final class MSPDIWriter
This class creates a new MSPDI file from the contents of an ProjectFile instance.
| Constructor Summary | |
|---|---|
MSPDIWriter()
|
|
| Method Summary | |
|---|---|
SaveVersion |
getSaveVersion()
Retrieve the save version current set. |
boolean |
getSplitTimephasedAsDays()
Retrieves a flag to control whether timephased assignment data is split into days. |
boolean |
getWriteTimephasedData()
Retrieves the state of the flag which controls whether timephased resource assignment data is written to the file. |
void |
setSaveVersion(SaveVersion version)
Set the save version to use when generating an MSPDI file. |
void |
setSplitTimephasedAsDays(boolean flag)
Sets a flag to control whether timephased assignment data is split into days. |
void |
setWriteTimephasedData(boolean value)
Sets a flag to control whether timephased resource assignment data is written to the file. |
void |
write(ProjectFile projectFile,
OutputStream stream)
Create a project file using the supplied OutputStream instance. |
| Methods inherited from class net.sf.mpxj.writer.AbstractProjectWriter |
|---|
write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MSPDIWriter()
| Method Detail |
|---|
public void setSplitTimephasedAsDays(boolean flag)
flag - boolean flagpublic boolean getSplitTimephasedAsDays()
public void setWriteTimephasedData(boolean value)
value - boolean flagpublic boolean getWriteTimephasedData()
public void setSaveVersion(SaveVersion version)
version - save versionpublic SaveVersion getSaveVersion()
public void write(ProjectFile projectFile,
OutputStream stream)
throws IOException
projectFile - project file instancestream - OutputStream instance
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||