com.github.fge.compiler
Class FromStringFileObject

java.lang.Object
  extended by javax.tools.SimpleJavaFileObject
      extended by com.github.fge.compiler.FromStringFileObject
All Implemented Interfaces:
FileObject, JavaFileObject

public final class FromStringFileObject
extends SimpleJavaFileObject


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.tools.JavaFileObject
JavaFileObject.Kind
 
Field Summary
 
Fields inherited from class javax.tools.SimpleJavaFileObject
kind, uri
 
Constructor Summary
FromStringFileObject(String fullClassName, String sourceCode)
           
 
Method Summary
 CharSequence getCharContent(boolean ignoreEncodingErrors)
           
 
Methods inherited from class javax.tools.SimpleJavaFileObject
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FromStringFileObject

public FromStringFileObject(String fullClassName,
                            String sourceCode)
                     throws URISyntaxException
Throws:
URISyntaxException
Method Detail

getCharContent

public CharSequence getCharContent(boolean ignoreEncodingErrors)
                            throws IOException
Specified by:
getCharContent in interface FileObject
Overrides:
getCharContent in class SimpleJavaFileObject
Throws:
IOException