Package org.jpmml.codemodel
Class JClassFile
- java.lang.Object
-
- com.sun.codemodel.JResourceFile
-
- org.jpmml.codemodel.JClassFile
-
- All Implemented Interfaces:
Streamable
public class JClassFile extends com.sun.codemodel.JResourceFile implements Streamable
-
-
Constructor Summary
Constructors Constructor Description JClassFile(String name, byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(OutputStream os)byte[]getBytes()InputStreamgetInputStream()
-
-
-
Constructor Detail
-
JClassFile
public JClassFile(String name, byte[] bytes)
-
-
Method Detail
-
build
public void build(OutputStream os) throws IOException
- Specified by:
buildin classcom.sun.codemodel.JResourceFile- Throws:
IOException
-
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStreamin interfaceStreamable
-
getBytes
public byte[] getBytes()
-
-