public class WrapperProcessInputStream
extends java.io.InputStream
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
|
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()
Deprecated.
As this is a non-standard InputStream method.
|
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOException - If an I/O error occurs.public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.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.InputStreampublic boolean ready()
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.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.InputStreamb - 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.InputStreamb - 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.Copyright 1999, 2025 Tanuki Software Inc., All Rights Reserved.