|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.schmant.plugin.eclipse.java.ClasspathFileParserImpl
public class ClasspathFileParserImpl
Default implementation of ClasspathFileParser
.
This class has a static Set
of the names of user libraries that are
ignored if they occur in a project's .classpath
file.
Constructor Summary | |
---|---|
ClasspathFileParserImpl()
|
Method Summary | |
---|---|
static void |
addIgnoredUserLibrary(String name)
Add the name of one user library that should be ignored if it occurs in a project's .classpath file. |
static Set<String> |
getIgnoredUserLibraries()
Get the set of names of libraries that are ignored if they occur in a project's .classpath file. |
EclipseProjectClasspathInfo |
parse(ReadableFile f,
EclipseWorkspace ewos,
EntityRepository wosRoot,
DirectoryView projRoot,
EclipseWorkspaceSettings settings,
EclipseWorkspaceConfiguration parsedSettings)
Parse a .classpath file and return classpath information from it. |
static void |
removeIgnoredUserLibrary(String name)
Remove one name from the list of ignored libraries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClasspathFileParserImpl()
Method Detail |
---|
public static void addIgnoredUserLibrary(String name)
.classpath
file.
name
- The name of the library to ignore.public static Set<String> getIgnoredUserLibraries()
.classpath
file.
public static void removeIgnoredUserLibrary(String name)
name
- The name to remove.public EclipseProjectClasspathInfo parse(ReadableFile f, EclipseWorkspace ewos, EntityRepository wosRoot, DirectoryView projRoot, EclipseWorkspaceSettings settings, EclipseWorkspaceConfiguration parsedSettings) throws IOException
ClasspathFileParser
.classpath
file and return classpath information from it.
parse
in interface ClasspathFileParser
f
- The classpath file.ewos
- The Eclipse workspace. No methods may be called on this
object since it is not fully initialized yet. See
EclipseWorkspaceInfoCollector.collect(EclipseWorkspace)
.wosRoot
- The workspace's root directory.projRoot
- The project's directory.settings
- Eclipse workspace settings. May be null
.parsedSettings
- Eclipse workspace settings parsed from the
workspace metadata. User-supplied settings in the settings
object
(if any) should override these settings.
IOException
- On I/O errors.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |