edu.rice.cs.drjava.project
Class ProjectFileParserFacade

java.lang.Object
  extended by edu.rice.cs.drjava.project.ProjectFileParserFacade
Direct Known Subclasses:
ProjectFileParser, XMLProjectFileParser

public class ProjectFileParserFacade
extends Object

Abstract project file parser.


Field Summary
protected  File _projectFile
           
protected  boolean _xmlProjectFile
           
static ProjectFileParserFacade ONLY
          Singleton instance of ProjectFileParserFacade
 
Constructor Summary
protected ProjectFileParserFacade()
           
 
Method Summary
 ProjectFileIR parse(File projFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONLY

public static final ProjectFileParserFacade ONLY
Singleton instance of ProjectFileParserFacade


_projectFile

protected File _projectFile

_xmlProjectFile

protected boolean _xmlProjectFile
Constructor Detail

ProjectFileParserFacade

protected ProjectFileParserFacade()
Method Detail

parse

public ProjectFileIR parse(File projFile)
                    throws IOException,
                           FileNotFoundException,
                           MalformedProjectFileException
Parameters:
projFile - the file to parse
Returns:
the project file IR
Throws:
IOException
FileNotFoundException
MalformedProjectFileException