org.eclipse.jdt.internal.compiler.batch
类 ClasspathLocation
java.lang.Object
org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
- 所有已实现的接口:
- FileSystem.Classpath, SuffixConstants
- 直接已知子类:
- ClasspathDirectory, ClasspathJar
public abstract class ClasspathLocation
- extends Object
- implements FileSystem.Classpath, SuffixConstants
| 从接口 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 |
SOURCE
public static final int SOURCE
- 另请参见:
- 常量字段值
BINARY
public static final int BINARY
- 另请参见:
- 常量字段值
accessRuleSet
public AccessRuleSet accessRuleSet
destinationPath
public String destinationPath
ClasspathLocation
protected ClasspathLocation(AccessRuleSet accessRuleSet,
String destinationPath)
fetchAccessRestriction
protected AccessRestriction fetchAccessRestriction(String qualifiedBinaryFileName)
- Return the first access rule which is violated when accessing a given
type, or null if no 'non accessible' access rule applies.
- 参数:
qualifiedBinaryFileName - tested type specification, formed as:
"org/eclipse/jdt/core/JavaCore.class"; on systems that
use \ as File.separator, the
"org\eclipse\jdt\core\JavaCore.class" is accepted as well
- 返回:
- the first access rule which is violated when accessing a given
type, or null if none applies
getMode
public int getMode()
hashCode
public int hashCode()
- 覆盖:
- 类
Object 中的 hashCode
equals
public boolean equals(Object obj)
- 覆盖:
- 类
Object 中的 equals
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
- 返回:
- the path for file based classpath entries
Copyright © 2013. All Rights Reserved.