org.schmant.plugin.intellij.java
Class ImlFileV4Parser
java.lang.Object
org.schmant.project.intellij.AbstractIntelliJFileParser
org.schmant.plugin.intellij.java.ImlFileV4Parser
- All Implemented Interfaces:
- ImlFileVersionParser
public class ImlFileV4Parser
- extends AbstractIntelliJFileParser
- implements ImlFileVersionParser
Parser implementation for version 4 of .iml files.
- Since:
- 0.7.1
- Author:
- Karl Gustafsson
- Task_package:
- org.schmant.task.base
|
Method Summary |
Project |
parse(IntelliJWorkspace wos,
DirectoryView moduleDir,
Map<String,List<JavaProjectClasspathEntry>> projectLibs,
IntelliJWorkspaceSettings settings,
String moduleName,
Document d)
Parse the DOM Document. |
protected Project |
parseJavaModule(IntelliJWorkspace wos,
DirectoryView moduleDir,
Map<String,List<JavaProjectClasspathEntry>> projectLibs,
IntelliJWorkspaceSettings settings,
String moduleName,
Element docE)
Parse a module of the type JAVA_MODULE. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImlFileV4Parser
public ImlFileV4Parser()
parseJavaModule
protected Project parseJavaModule(IntelliJWorkspace wos,
DirectoryView moduleDir,
Map<String,List<JavaProjectClasspathEntry>> projectLibs,
IntelliJWorkspaceSettings settings,
String moduleName,
Element docE)
throws IOException
- Parse a module of the type
JAVA_MODULE.
- Parameters:
moduleDir - The module root directory.moduleName - The name of the module.docE - The document element in the module file document.
- Returns:
- The Java project.
- Throws:
IOException
parse
public Project parse(IntelliJWorkspace wos,
DirectoryView moduleDir,
Map<String,List<JavaProjectClasspathEntry>> projectLibs,
IntelliJWorkspaceSettings settings,
String moduleName,
Document d)
throws IOException
- Description copied from interface:
ImlFileVersionParser
- Parse the DOM
Document.
- Specified by:
parse in interface ImlFileVersionParser
- Parameters:
wos - The IntelliJ workspace being constructed. Don't call any
methods on this object.moduleDir - The module's root directoryprojectLibs - The project's libraries.settings - Workspace settings. May be null.moduleName - The name of the module.d - The .iml file Document
- Returns:
- The project
- Throws:
IOException - On I/O errors