org.eclipse.jdt.internal.compiler.batch
类 ClasspathJar
java.lang.Object
org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
org.eclipse.jdt.internal.compiler.batch.ClasspathJar
- 所有已实现的接口:
- FileSystem.Classpath, SuffixConstants
- 直接已知子类:
- ClasspathSourceJar
public class ClasspathJar
- extends ClasspathLocation
| 从接口 org.eclipse.jdt.internal.compiler.util.SuffixConstants 继承的字段 |
EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA |
file
protected File file
zipFile
protected ZipFile zipFile
closeZipFileAtEnd
protected boolean closeZipFileAtEnd
packageCache
protected Hashtable packageCache
ClasspathJar
public ClasspathJar(File file,
boolean closeZipFileAtEnd,
AccessRuleSet accessRuleSet,
String destinationPath)
fetchLinkedJars
public List fetchLinkedJars(FileSystem.ClasspathSectionProblemReporter problemReporter)
- 从接口
FileSystem.Classpath 复制的描述
- 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.
- 参数:
problemReporter - problem reporter with which potential
misconfiguration issues are raised
- 返回:
- a list of the jar file names defined in the Class-Path
section of the jar file manifest if any
findClass
public NameEnvironmentAnswer findClass(char[] typeName,
String qualifiedPackageName,
String qualifiedBinaryFileName)
findClass
public NameEnvironmentAnswer findClass(char[] typeName,
String qualifiedPackageName,
String qualifiedBinaryFileName,
boolean asBinaryOnly)
findTypeNames
public char[][][] findTypeNames(String qualifiedPackageName)
initialize
public void initialize()
throws IOException
- 从接口
FileSystem.Classpath 复制的描述
- Initialize the entry
- 抛出:
IOException
isPackage
public boolean isPackage(String qualifiedPackageName)
reset
public void reset()
- 从接口
FileSystem.Classpath 复制的描述
- This method resets the environment. The resulting state is equivalent to
a new name environment without creating a new object.
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
normalizedPath
public char[] normalizedPath()
- 从接口
FileSystem.Classpath 复制的描述
- 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.
- 返回:
- a normalized path for file based classpath entries
getPath
public String getPath()
- 从接口
FileSystem.Classpath 复制的描述
- 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.
- 指定者:
- 接口
FileSystem.Classpath 中的 getPath - 覆盖:
- 类
ClasspathLocation 中的 getPath
- 返回:
- the path for file based classpath entries
getMode
public int getMode()
- 覆盖:
- 类
ClasspathLocation 中的 getMode
Copyright © 2013. All Rights Reserved.