Home » openjdk-7 » com.sun.tools » javac » file » [javadoc | source]
class: RegularFileObject [javadoc | source]

All Implemented Interfaces:

A subclass of JavaFileObject representing regular files.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Field Summary
final  File file     
Fields inherited from com.sun.tools.javac.file.BaseFileObject:
 public RegularFileObject(JavacFileManager fileManager,
    File f) 
 public RegularFileObject(JavacFileManager fileManager,
    String name,
    File f) 
Method from com.sun.tools.javac.file.RegularFileObject Summary:
delete,   equals,   getCharContent,   getDecoder,   getKind,   getLastModified,   getName,   getShortName,   hashCode,   inferBinaryName,   isNameCompatible,   openInputStream,   openOutputStream,   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.file.RegularFileObject Detail:
 public boolean delete() 
 public boolean equals(Object other) 
    Check if two file objects are equal. Two RegularFileObjects are equal if the absolute paths of the underlying files are equal.
 public CharBuffer getCharContent(boolean ignoreEncodingErrors) throws IOException 
 protected CharsetDecoder getDecoder(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 cn,
    Kind kind) 
 public InputStream openInputStream() throws IOException 
 public OutputStream openOutputStream() throws IOException 
 public Writer openWriter() throws IOException 
 public URI toUri()