net.sf.mpxj.writer
Class AbstractProjectWriter
java.lang.Object
net.sf.mpxj.writer.AbstractProjectWriter
- All Implemented Interfaces:
- ProjectWriter
- Direct Known Subclasses:
- MPXWriter, MSPDIWriter, PlannerWriter
public abstract class AbstractProjectWriter
- extends Object
- implements ProjectWriter
Abstract implementation of the ProjectWriter interface
which supplies implementations of the trivial write methods.
|
Method Summary |
void |
write(ProjectFile projectFile,
File file)
Create a project file using the supplied File instance. |
void |
write(ProjectFile projectFile,
String fileName)
Create a project file using the supplied file name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProjectWriter
public AbstractProjectWriter()
write
public void write(ProjectFile projectFile,
String fileName)
throws IOException
- Create a project file using the supplied file name.
- Specified by:
write in interface ProjectWriter
- Parameters:
projectFile - project file instancefileName - file name
- Throws:
IOException
write
public void write(ProjectFile projectFile,
File file)
throws IOException
- Create a project file using the supplied File instance.
- Specified by:
write in interface ProjectWriter
- Parameters:
projectFile - project file instancefile - File instance
- Throws:
IOException
Copyright © 2012. All Rights Reserved.