spec.benchmarks.compiler
Class SpecFileManager.InputFileObject

java.lang.Object
  extended by com.sun.tools.javac.util.BaseFileObject
      extended by com.sun.tools.javac.util.JavacFileManager.RegularFileObject
          extended by spec.benchmarks.compiler.SpecFileManager.InputFileObject
All Implemented Interfaces:
javax.tools.FileObject, javax.tools.JavaFileObject
Enclosing class:
SpecFileManager

public class SpecFileManager.InputFileObject
extends com.sun.tools.javac.util.JavacFileManager.RegularFileObject


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.tools.JavaFileObject
javax.tools.JavaFileObject.Kind
 
Constructor Summary
SpecFileManager.InputFileObject(java.lang.String name, java.io.File f)
           
 
Method Summary
 java.nio.CharBuffer getCharContent(boolean ignoreEncodingErrors)
           
 java.io.InputStream openInputStream()
           
 
Methods inherited from class com.sun.tools.javac.util.JavacFileManager.RegularFileObject
delete, equals, getDecoder, getLastModified, getName, getPath, hashCode, isNameCompatible, openOutputStream, openWriter, toUri
 
Methods inherited from class com.sun.tools.javac.util.BaseFileObject
getAccessLevel, getKind, getNestingKind, openReader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpecFileManager.InputFileObject

public SpecFileManager.InputFileObject(java.lang.String name,
                                       java.io.File f)
Method Detail

openInputStream

public java.io.InputStream openInputStream()
                                    throws java.io.IOException
Specified by:
openInputStream in interface javax.tools.FileObject
Overrides:
openInputStream in class com.sun.tools.javac.util.JavacFileManager.RegularFileObject
Throws:
java.io.IOException

getCharContent

public java.nio.CharBuffer getCharContent(boolean ignoreEncodingErrors)
                                   throws java.io.IOException
Specified by:
getCharContent in interface javax.tools.FileObject
Overrides:
getCharContent in class com.sun.tools.javac.util.JavacFileManager.RegularFileObject
Throws:
java.io.IOException