spec.benchmarks.compiler
Class SpecFileManager.BaseFileObject

java.lang.Object
  extended by spec.benchmarks.compiler.SpecFileManager.BaseFileObject
All Implemented Interfaces:
javax.tools.FileObject, javax.tools.JavaFileObject
Direct Known Subclasses:
SpecFileManager.CachedFileObject, SpecFileManager.OutputFileObject
Enclosing class:
SpecFileManager

public class SpecFileManager.BaseFileObject
extends java.lang.Object
implements javax.tools.JavaFileObject


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.tools.JavaFileObject
javax.tools.JavaFileObject.Kind
 
Constructor Summary
SpecFileManager.BaseFileObject()
           
 
Method Summary
 boolean delete()
           
 javax.lang.model.element.Modifier getAccessLevel()
           
 java.lang.CharSequence getCharContent(boolean arg0)
           
 javax.tools.JavaFileObject.Kind getKind()
           
 long getLastModified()
           
 java.lang.String getName()
           
 javax.lang.model.element.NestingKind getNestingKind()
           
 boolean isNameCompatible(java.lang.String arg0, javax.tools.JavaFileObject.Kind arg1)
           
 java.io.InputStream openInputStream()
           
 java.io.OutputStream openOutputStream()
           
 java.io.Reader openReader(boolean arg0)
           
 java.io.Writer openWriter()
           
 java.net.URI toUri()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecFileManager.BaseFileObject

public SpecFileManager.BaseFileObject()
Method Detail

delete

public boolean delete()
Specified by:
delete in interface javax.tools.FileObject

getAccessLevel

public javax.lang.model.element.Modifier getAccessLevel()
Specified by:
getAccessLevel in interface javax.tools.JavaFileObject

getCharContent

public java.lang.CharSequence getCharContent(boolean arg0)
                                      throws java.io.IOException
Specified by:
getCharContent in interface javax.tools.FileObject
Throws:
java.io.IOException

getKind

public javax.tools.JavaFileObject.Kind getKind()
Specified by:
getKind in interface javax.tools.JavaFileObject

getLastModified

public long getLastModified()
Specified by:
getLastModified in interface javax.tools.FileObject

getName

public java.lang.String getName()
Specified by:
getName in interface javax.tools.FileObject

getNestingKind

public javax.lang.model.element.NestingKind getNestingKind()
Specified by:
getNestingKind in interface javax.tools.JavaFileObject

isNameCompatible

public boolean isNameCompatible(java.lang.String arg0,
                                javax.tools.JavaFileObject.Kind arg1)
Specified by:
isNameCompatible in interface javax.tools.JavaFileObject

openInputStream

public java.io.InputStream openInputStream()
                                    throws java.io.IOException
Specified by:
openInputStream in interface javax.tools.FileObject
Throws:
java.io.IOException

openOutputStream

public java.io.OutputStream openOutputStream()
                                      throws java.io.IOException
Specified by:
openOutputStream in interface javax.tools.FileObject
Throws:
java.io.IOException

openReader

public java.io.Reader openReader(boolean arg0)
                          throws java.io.IOException
Specified by:
openReader in interface javax.tools.FileObject
Throws:
java.io.IOException

openWriter

public java.io.Writer openWriter()
                          throws java.io.IOException
Specified by:
openWriter in interface javax.tools.FileObject
Throws:
java.io.IOException

toUri

public java.net.URI toUri()
Specified by:
toUri in interface javax.tools.FileObject