Package org.jpmml.python
Class StreamProvider
- java.lang.Object
-
- org.jpmml.python.StreamProvider
-
-
Constructor Summary
Constructors Constructor Description StreamProvider(java.io.InputStream stream)StreamProvider(java.io.InputStream stream, java.lang.String charsetName)StreamProvider(java.io.Reader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the stream and releases any system resources associated with it.intread(char[] buffer, int off, int len)Reads characters into an array
-
-
-
Constructor Detail
-
StreamProvider
public StreamProvider(java.io.Reader reader)
-
StreamProvider
public StreamProvider(java.io.InputStream stream) throws java.io.IOException- Throws:
java.io.IOException
-
StreamProvider
public StreamProvider(java.io.InputStream stream, java.lang.String charsetName) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
read
public int read(char[] buffer, int off, int len) throws java.io.IOExceptionDescription copied from interface:ProviderReads characters into an array
-
-