Package net.openhft.compiler
Class JavaSourceFromString
- java.lang.Object
-
- javax.tools.SimpleJavaFileObject
-
- net.openhft.compiler.JavaSourceFromString
-
- All Implemented Interfaces:
javax.tools.FileObject,javax.tools.JavaFileObject
class JavaSourceFromString extends javax.tools.SimpleJavaFileObject
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcodeThe source code of this "file".
-
Constructor Summary
Constructors Constructor Description JavaSourceFromString(@NotNull java.lang.String name, java.lang.String code)Constructs a new JavaSourceFromString.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.CharSequencegetCharContent(boolean ignoreEncodingErrors)
-
-
-
Constructor Detail
-
JavaSourceFromString
JavaSourceFromString(@NotNull @NotNull java.lang.String name, java.lang.String code)Constructs a new JavaSourceFromString.- Parameters:
name- the name of the compilation unit represented by this file objectcode- the source code for the compilation unit represented by this file object
-
-