java.io.Closeable
, java.lang.AutoCloseable
public class FilelikeInputStream
extends java.io.InputStream
Constructor | Description |
---|---|
FilelikeInputStream(PyObject filelike) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
int |
read() |
|
int |
read(byte[] b,
int off,
int len) |
public FilelikeInputStream(PyObject filelike)
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException