Class InMemoryCompilerSource
java.lang.Object
javax.tools.SimpleJavaFileObject
de.monochromata.cucumber.stepdefs.compiler.InMemoryCompilerSource
- All Implemented Interfaces:
FileObject,JavaFileObject
public class InMemoryCompilerSource 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
Constructors Constructor Description InMemoryCompilerSource(String typeName, String source) -
Method Summary
Modifier and Type Method Description CharSequencegetCharContent(boolean ignoreEncodingErrors)OutputStreamopenOutputStream()protected static URIuri(String typeName)Methods inherited from class javax.tools.SimpleJavaFileObject
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUri
-
Constructor Details
-
InMemoryCompilerSource
-
-
Method Details
-
uri
-
openOutputStream
- Specified by:
openOutputStreamin interfaceFileObject- Overrides:
openOutputStreamin classSimpleJavaFileObject- Throws:
IOException
-
getCharContent
- Specified by:
getCharContentin interfaceFileObject- Overrides:
getCharContentin classSimpleJavaFileObject
-