net.sf.mpxj.writer
Class AbstractProjectWriter

java.lang.Object
  extended by 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.


Constructor Summary
AbstractProjectWriter()
           
 
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
 
Methods inherited from interface net.sf.mpxj.writer.ProjectWriter
write
 

Constructor Detail

AbstractProjectWriter

public AbstractProjectWriter()
Method Detail

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 instance
fileName - 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 instance
file - File instance
Throws:
IOException


Copyright © 2012. All Rights Reserved.