public class WrapperProcessInputStream
extends java.io.InputStream
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Closes the InputStream
|
boolean |
markSupported() |
Tests if this input stream supports the mark and reset methods.
|
int |
read() |
Read a character from the Stream and moves the position in the stream
|
int |
read(byte[] b) |
Reads some number of bytes from the input stream and stores them into the buffer array b.
|
int |
read(byte[] b,
int off,
int len) |
Reads up to len bytes of data from the input stream into an array of bytes.
|
boolean |
ready() |
public void close() throws java.io.IOException
close
in class java.io.InputStream
java.io.IOException
- in case of any file errorsWrapperLicenseError
- If the function is called other than in
the Professional Edition or from a Standalone JVM.public boolean markSupported()
markSupported
in class java.io.InputStream
public boolean ready()
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
- in case the stream has been already closed or any other file errorWrapperLicenseError
- If the function is called other than in
the Professional Edition or from a Standalone JVM.public int read(byte[] b) throws java.io.IOException
read
in class java.io.InputStream
b
- The buffer into which the data is read.java.io.IOException
- If the first byte cannot be read for any reason other than the end of the
file, if the input stream has been closed, or if some other I/O error
occurs.WrapperLicenseError
- If the function is called other than in
the Professional Edition or from a Standalone JVM.public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
b
- The buffer into which the data is read.off
- The start offset in array b from which the data is read.len
- The maximum number of bytes to read.java.io.IOException
- If the first byte cannot be read for any reason other than the end of the
file, if the input stream has been closed, or if some other I/O error
occurs.WrapperLicenseError
- If the function is called other than in
the Professional Edition or from a Standalone JVM.