public final class MSPDIWriter extends AbstractProjectWriter
Constructor and Description |
---|
MSPDIWriter() |
Modifier and Type | Method and Description |
---|---|
boolean |
getMicrosoftProjectCompatibleOutput()
Retrieves a flag which determines if the output is readable by MS Project.
|
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 |
setMicrosoftProjectCompatibleOutput(boolean flag)
Sets a flag to determine if the output is readable by MS Project, or
is "spec compliant".
|
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)
Write a project file's content to the supplied OutputStream instance.
|
write, write
public void setMicrosoftProjectCompatibleOutput(boolean flag)
flag
- true if output is readable by MS Projectpublic boolean getMicrosoftProjectCompatibleOutput()
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
ProjectWriter
projectFile
- project file instancestream
- OutputStream instanceIOException
Copyright © 2000–2024 Packwood Software. All rights reserved.