net.sf.mpxj.writer
Interface ProjectWriter

All Known Implementing Classes:
AbstractProjectWriter, MPXWriter, MSPDIWriter, PlannerWriter

public interface ProjectWriter

This interface is implemented by classes which can create project files from the contents of an ProjectFile instance.


Method Summary
 void write(ProjectFile projectFile, File file)
          Create a project file using the supplied File instance.
 void write(ProjectFile projectFile, OutputStream outputStream)
          Create a project file using the supplied OutputStream instance.
 void write(ProjectFile projectFile, String fileName)
          Create a project file using the supplied file name.
 

Method Detail

write

void write(ProjectFile projectFile,
           String fileName)
           throws IOException
Create a project file using the supplied file name.

Parameters:
projectFile - project file instance
fileName - file name
Throws:
IOException

write

void write(ProjectFile projectFile,
           File file)
           throws IOException
Create a project file using the supplied File instance.

Parameters:
projectFile - project file instance
file - File instance
Throws:
IOException

write

void write(ProjectFile projectFile,
           OutputStream outputStream)
           throws IOException
Create a project file using the supplied OutputStream instance.

Parameters:
projectFile - project file instance
outputStream - OutputStream instance
Throws:
IOException


Copyright © 2012. All Rights Reserved.