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


字段摘要
 AccessRuleSet accessRuleSet
           
static int BINARY
           
 String destinationPath
           
static int SOURCE
           
 
从接口 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
 
构造方法摘要
protected ClasspathLocation(AccessRuleSet accessRuleSet, String destinationPath)
           
 
方法摘要
 boolean equals(Object obj)
           
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.
 int getMode()
           
 String getPath()
          Return the path for file based classpath entries.
 int hashCode()
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
从接口 org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath 继承的方法
fetchLinkedJars, findClass, findClass, findTypeNames, initialize, isPackage, normalizedPath, reset
 

字段详细信息

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.