org.eclipse.jdt.internal.compiler.batch
Interface FileSystem.Classpath

All Known Implementing Classes:
ClasspathDirectory, ClasspathJar, ClasspathLocation, ClasspathSourceJar
Enclosing class:
FileSystem

public static interface FileSystem.Classpath


Method Summary
 java.util.List fetchLinkedJars(FileSystem.ClasspathSectionProblemReporter problemReporter)
          Return a list of the jar file names defined in the Class-Path section of the jar file manifest if any, null else.
 NameEnvironmentAnswer findClass(char[] typeName, java.lang.String qualifiedPackageName, java.lang.String qualifiedBinaryFileName)
           
 NameEnvironmentAnswer findClass(char[] typeName, java.lang.String qualifiedPackageName, java.lang.String qualifiedBinaryFileName, boolean asBinaryOnly)
           
 char[][][] findTypeNames(java.lang.String qualifiedPackageName)
           
 java.lang.String getPath()
          Return the path for file based classpath entries.
 void initialize()
          Initialize the entry
 boolean isPackage(java.lang.String qualifiedPackageName)
           
 char[] normalizedPath()
          Return a normalized path for file based classpath entries.
 void reset()
          This method resets the environment.
 

Method Detail

findTypeNames

char[][][] findTypeNames(java.lang.String qualifiedPackageName)

findClass

NameEnvironmentAnswer findClass(char[] typeName,
                                java.lang.String qualifiedPackageName,
                                java.lang.String qualifiedBinaryFileName)

findClass

NameEnvironmentAnswer findClass(char[] typeName,
                                java.lang.String qualifiedPackageName,
                                java.lang.String qualifiedBinaryFileName,
                                boolean asBinaryOnly)

isPackage

boolean isPackage(java.lang.String qualifiedPackageName)

fetchLinkedJars

java.util.List fetchLinkedJars(FileSystem.ClasspathSectionProblemReporter problemReporter)
Return a list of the jar file names defined in the Class-Path section of the jar file manifest if any, null else. Only ClasspathJar (and extending classes) instances may return a non-null result.

Parameters:
problemReporter - problem reporter with which potential misconfiguration issues are raised
Returns:
a list of the jar file names defined in the Class-Path section of the jar file manifest if any

reset

void reset()
This method resets the environment. The resulting state is equivalent to a new name environment without creating a new object.


normalizedPath

char[] normalizedPath()
Return a normalized path for file based classpath entries. This is an absolute path in which file separators are transformed to the platform-agnostic '/', ending with a '/' for directories. This is an absolute path in which file separators are transformed to the platform-agnostic '/', deprived from the '.jar' (resp. '.zip') extension for jar (resp. zip) files.

Returns:
a normalized path for file based classpath entries

getPath

java.lang.String getPath()
Return the path for file based classpath entries. This is an absolute path ending with a file separator for directories, an absolute path including the '.jar' (resp. '.zip') extension for jar (resp. zip) files.

Returns:
the path for file based classpath entries

initialize

void initialize()
                throws java.io.IOException
Initialize the entry

Throws:
java.io.IOException