net.sf.mpxj.reader
Class AbstractProjectReader
java.lang.Object
net.sf.mpxj.reader.AbstractProjectReader
- All Implemented Interfaces:
- ProjectReader
- Direct Known Subclasses:
- MPPReader, MPXReader, MSPDIReader, PlannerReader, PrimaveraPMFileReader, PrimaveraXERFileReader
public abstract class AbstractProjectReader
- extends Object
- implements ProjectReader
Abstract implementation of the ProjectReader interface
which supplies implementations of the trivial read methods.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProjectReader
public AbstractProjectReader()
read
public ProjectFile read(String fileName)
throws MPXJException
- Read a file where the file name is supplied.
- Specified by:
read in interface ProjectReader
- Parameters:
fileName - file name
- Returns:
- ProjectFile instance
- Throws:
MPXJException
read
public ProjectFile read(File file)
throws MPXJException
- Read a file where a File instance is supplied.
- Specified by:
read in interface ProjectReader
- Parameters:
file - File instance
- Returns:
- ProjectFile instance
- Throws:
MPXJException
Copyright © 2012. All Rights Reserved.