java.lang.Object
java.io.InputStream
org.media.datastore.sepengine.util.SepInputStream
- All Implemented Interfaces:
- java.io.Closeable
- public class SepInputStream
- extends java.io.InputStream
- Version:
- $Revision: 1.3 $ $Date: 2001/08/21 15:00:00
|
Method Summary |
int |
read()
This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
istream
private java.io.InputStream istream
header
private java.lang.String header
footer
private java.lang.String footer
headerPos
private int headerPos
footerPos
private int footerPos
SepInputStream
public SepInputStream(java.io.InputStream istream,
java.lang.String header,
java.lang.String footer)
read
public int read()
throws java.io.IOException
- Description copied from class:
java.io.InputStream
- This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255. This method also will return -1 if
the end of the stream has been reached.
This method will block until the byte can be read.