Home » openjdk-7 » com.sun.tools » javac » file » [javadoc | source]
com.sun.tools.javac.file
public static class: RelativePath.RelativeDirectory [javadoc | source]
java.lang.Object
   com.sun.tools.javac.file.RelativePath
      com.sun.tools.javac.file.RelativePath$RelativeDirectory

All Implemented Interfaces:
    Comparable

Used to represent a platform-neutral subdirectory within a platform-specific container, such as a directory or zip file. Internally, the file separator is always '/', and if the path is not empty, it always ends in a '/' as well.
Fields inherited from com.sun.tools.javac.file.RelativePath:
path
Constructor:
 public RelativeDirectory(String p) 
    Parameters:
    p - must use '/' as an internal separator
 public RelativeDirectory(RelativeDirectory d,
    String p) 
    Parameters:
    p - must use '/' as an internal separator
Method from com.sun.tools.javac.file.RelativePath$RelativeDirectory Summary:
basename,   contains,   dirname,   forPackage,   toString
Methods from com.sun.tools.javac.file.RelativePath:
basename,   compareTo,   dirname,   equals,   getFile,   getPath,   hashCode,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.file.RelativePath$RelativeDirectory Detail:
 public String basename() 
 boolean contains(RelativePath other) 
    Return true if this subdirectory "contains" the other path. A subdirectory path does not contain itself.
 public RelativeDirectory dirname() 
 static RelativeDirectory forPackage(CharSequence packageName) 
 public String toString()