org.schmant.project.intellij
Interface IprFileParser

All Known Implementing Classes:
IprFileParserImpl

public interface IprFileParser

This interface defines a parser for an IntelliJ IDEA's workspace's .ipr file. It is used by the IntelliJProjectInfoCollector.

Parser objects are reused and can potentially be used simultaneously by several threads, so they cannot contain any mutable internal state that is not properly guarded.

Since:
0.7.1
Author:
Karl Gustafsson

Method Summary
 IprSettings parse(DirectoryView wosRoot, ReadableFile f)
          Parse the contents of the supplied .ipr file.
 

Method Detail

parse

IprSettings parse(DirectoryView wosRoot,
                  ReadableFile f)
                  throws IOException
Parse the contents of the supplied .ipr file.

Parameters:
wosRoot - The workspace root directory.
f - The .ipr file.
Returns:
Settings parsed from the file.
Throws:
IOException - On I/O errors.