org.phidias.compile
Class StringJavaFileObject

java.lang.Object
  extended by javax.tools.SimpleJavaFileObject
      extended by org.phidias.compile.StringJavaFileObject
All Implemented Interfaces:
javax.tools.FileObject, javax.tools.JavaFileObject, Constants

public class StringJavaFileObject
extends javax.tools.SimpleJavaFileObject
implements Constants

Author:
Raymond Augé

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.tools.JavaFileObject
javax.tools.JavaFileObject.Kind
 
Field Summary
 
Fields inherited from class javax.tools.SimpleJavaFileObject
kind, uri
 
Fields inherited from interface org.phidias.compile.Constants
FILTER, JAVA_PACKAGE, OPT_PROC_NONE, OPT_VERBOSE, PERIOD, PROTOCOL_STRING, SLASH, STAR
 
Constructor Summary
StringJavaFileObject(java.lang.String name, java.lang.String source)
           
 
Method Summary
 java.lang.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

StringJavaFileObject

public StringJavaFileObject(java.lang.String name,
                            java.lang.String source)
Method Detail

getCharContent

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