org.icepdf.core.io
Class SequenceInputStream
java.lang.Object
java.io.InputStream
org.icepdf.core.io.SequenceInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class SequenceInputStream
- extends java.io.InputStream
- Since:
- 2.0
- Author:
- Mark Collette
| Methods inherited from class java.io.InputStream |
read, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SequenceInputStream
public SequenceInputStream(java.io.InputStream in1,
java.io.InputStream in2)
SequenceInputStream
public SequenceInputStream(java.util.Iterator<java.io.InputStream> inputStreams)
available
public int available()
throws java.io.IOException
- Overrides:
available in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] buffer,
int off,
int len)
throws java.io.IOException
- Overrides:
read in class java.io.InputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.InputStream
- Throws:
java.io.IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported in class java.io.InputStream
mark
public void mark(int readlimit)
- Overrides:
mark in class java.io.InputStream
reset
public void reset()
throws java.io.IOException
- Overrides:
reset in class java.io.InputStream
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object