public class KieMemoryCompilerSourceCode extends SimpleJavaFileObject
JavaFileObject.Kind
kind, uri
Constructor and Description |
---|
KieMemoryCompilerSourceCode(String className,
String contents)
Constructor for
Kind.SOURCE KieMemoryCompilerCode |
Modifier and Type | Method and Description |
---|---|
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
String |
getClassName() |
OutputStream |
openOutputStream() |
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUri
public OutputStream openOutputStream() throws IOException
openOutputStream
in interface FileObject
openOutputStream
in class SimpleJavaFileObject
IOException
public String getClassName()
public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent
in interface FileObject
getCharContent
in class SimpleJavaFileObject
IOException
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.