public class ProjectWriter extends Object
Represents a class to write Project to various file formats. Currently the only XML format is supported for writing.
Constructor and Description |
---|
ProjectWriter() |
Modifier and Type | Method and Description |
---|---|
void |
setProjectXMLCreationFinishedEventHandler(ProjectXMLCreationFinished handler)
Set writer's project xml creation finished event handler.
|
void |
setTaskXMLCreationFinishedEventHandler(TaskXMLCreationFinished handler)
Set reader's task xml creation finished event handler.
|
void |
write(Project project,
OutputStream output,
int fmt) |
void |
write(Project project,
String filename,
int fmt)
Writes project to the file.
|
public void write(Project project, OutputStream output, int fmt)
public void write(Project project, String filename, int fmt)
Writes project to the file.
project
- Project to write.filename
- File to write.fmt
- File formal. See TasksDataFormat
public void setProjectXMLCreationFinishedEventHandler(ProjectXMLCreationFinished handler)
Set writer's project xml creation finished event handler.
handler
- The handler ProjectXMLCreationFinished
.public void setTaskXMLCreationFinishedEventHandler(TaskXMLCreationFinished handler)
Set reader's task xml creation finished event handler.
handler
- The handler TaskXMLCreationFinished
.Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.