MPXJ: Microsoft Project Exchange

net.sf.mpxj.reader
Class AbstractProjectReader

Package class diagram package AbstractProjectReader
java.lang.Object
  extended by net.sf.mpxj.reader.AbstractProjectReader
All Implemented Interfaces:
ProjectReader
Direct Known Subclasses:
MPPReader, MPXReader, MSPDIReader, PlannerReader

public abstract class AbstractProjectReader
extends java.lang.Object
implements ProjectReader

Abstract implementation of the ProjectReader interface which supplies implementations of the trivial read methods.


Constructor Summary
AbstractProjectReader()
           
 
Method Summary
 ProjectFile read(java.io.File file)
          Read a file where a File instance is supplied.
 ProjectFile read(java.lang.String fileName)
          Read a file where the file name is supplied.
 
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.reader.ProjectReader
read
 

Constructor Detail

AbstractProjectReader

public AbstractProjectReader()
Method Detail

read

public ProjectFile read(java.lang.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(java.io.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 © 2000-2009 Packwood Software. All Rights Reserved.