public final class MSPDIWriter extends AbstractProjectWriter
| Constructor and Description |
|---|
MSPDIWriter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
write, writepublic 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 instanceIOExceptionCopyright © 2013. All Rights Reserved.