Home » openjdk-7 » com.sun.tools » javac » jvm » [javadoc | source]
static class: ClassReader.SourceFileObject [javadoc | source]

All Implemented Interfaces:

A subclass of JavaFileObject for the sourcefile attribute found in a classfile. The attribute is only the last component of the original filename, so is unlikely to be valid as is, so operations other than those to access the name throw UnsupportedOperationException
Fields inherited from com.sun.tools.javac.file.BaseFileObject:
 public SourceFileObject(Name name,
    Name flatname) 
Method from com.sun.tools.javac.jvm.ClassReader$SourceFileObject Summary:
delete,   equals,   getCharContent,   getKind,   getLastModified,   getName,   getShortName,   hashCode,   inferBinaryName,   isNameCompatible,   openInputStream,   openOutputStream,   openReader,   openWriter,   toUri
Methods from com.sun.tools.javac.file.BaseFileObject:
createJarUri,   equals,   getAccessLevel,   getDecoder,   getKind,   getNestingKind,   getShortName,   getSimpleName,   hashCode,   inferBinaryName,   openReader,   removeExtension,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.jvm.ClassReader$SourceFileObject Detail:
 public boolean delete() 
 public boolean equals(Object other) 
    Check if two file objects are equal. SourceFileObjects are just placeholder objects for the value of a SourceFile attribute, and do not directly represent specific files. Two SourceFileObjects are equal if their names are equal.
 public CharBuffer getCharContent(boolean ignoreEncodingErrors) 
 public Kind getKind() 
 public long getLastModified() 
 public String getName() 
 public String getShortName() 
 public int hashCode() 
 protected String inferBinaryName(Iterable<File> path) 
 public boolean isNameCompatible(String simpleName,
    Kind kind) 
 public InputStream openInputStream() 
 public OutputStream openOutputStream() 
 public Reader openReader(boolean ignoreEncodingErrors) 
 public Writer openWriter() 
 public URI toUri()