|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.tools.SimpleJavaFileObject
org.apache.pig.impl.util.JavaCompilerHelper.JavaSourceFromString
public static class JavaCompilerHelper.JavaSourceFromString
This class allows code to be generated directly from a String, instead of having to be on disk.
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 |
Constructor Summary | |
---|---|
JavaCompilerHelper.JavaSourceFromString(String name,
String code)
|
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 |
---|
public JavaCompilerHelper.JavaSourceFromString(String name, String code)
Method Detail |
---|
public CharSequence getCharContent(boolean ignoreEncodingErrors)
getCharContent
in interface javax.tools.FileObject
getCharContent
in class javax.tools.SimpleJavaFileObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |