org.schmant.project.eclipse
Class ProjectFileParserImpl

java.lang.Object
  extended by org.schmant.project.eclipse.ProjectFileParserImpl
All Implemented Interfaces:
ProjectFileParser

public class ProjectFileParserImpl
extends Object
implements ProjectFileParser

Default parser for Eclipse project .project files. It uses XPath to parse the file contents.

Since:
0.5
Author:
Karl Gustafsson

Constructor Summary
ProjectFileParserImpl()
           
 
Method Summary
 EclipseProjectInfo parse(ReadableFile f)
          Parse the .project file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectFileParserImpl

public ProjectFileParserImpl()
Method Detail

parse

public EclipseProjectInfo parse(ReadableFile f)
                         throws IOException
Description copied from interface: ProjectFileParser
Parse the .project file.

Specified by:
parse in interface ProjectFileParser
Parameters:
f - The .project file.
Returns:
Project information.
Throws:
IOException - On I/O errors.