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