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

All Implemented Interfaces:
    Comparable

Used to represent a platform-neutral file within a platform-specific container, such as a directory or zip file. Internally, the file separator is always '/'. It never ends in '/'.
Fields inherited from com.sun.tools.javac.file.RelativePath:
path
Constructor:
 public RelativeFile(String p) 
 public RelativeFile(RelativeDirectory d,
    String p) 
    Parameters:
    p - must use '/' as an internal separator
 RelativeFile(RelativeDirectory d,
    RelativePath p) 
Method from com.sun.tools.javac.file.RelativePath$RelativeFile Summary:
basename,   dirname,   forClass,   getZipEntry,   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$RelativeFile Detail:
 public String basename() 
 public RelativeDirectory dirname() 
 static RelativeFile forClass(CharSequence className,
    Kind kind) 
 ZipEntry getZipEntry(ZipFile zip) 
 public String toString()