Package org.jpmml.python
Class InputStreamStorage
- java.lang.Object
-
- org.jpmml.python.Storage
-
- org.jpmml.python.InputStreamStorage
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
CompressedInputStreamStorage
public class InputStreamStorage extends Storage
-
-
Constructor Summary
Constructors Constructor Description InputStreamStorage(InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()InputStreamgetArray(String name)InputStreamgetObject()
-
-
-
Constructor Detail
-
InputStreamStorage
public InputStreamStorage(InputStream is)
-
-
Method Detail
-
getObject
public InputStream getObject() throws IOException
- Specified by:
getObjectin classStorage- Throws:
IOException
-
getArray
public InputStream getArray(String name)
-
close
public void close() throws IOException- Throws:
IOException
-
-