Package org.jpmml.model
Class PMMLOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- org.jpmml.model.PMMLOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class PMMLOutputStream extends FilterOutputStream
-
-
Constructor Summary
Constructors Constructor Description PMMLOutputStream(OutputStream os, Version version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(byte[] bytes)voidwrite(byte[] bytes, int offset, int length)voidwrite(int b)-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
PMMLOutputStream
public PMMLOutputStream(OutputStream os, Version version)
-
-
Method Detail
-
write
public void write(byte[] bytes) throws IOException- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
public void write(byte[] bytes, int offset, int length) throws IOException- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
public void write(int b) throws IOException- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterOutputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
-