org.bouncycastle.mail.smime.util
Class SharedFileInputStream
FilterInputStreamorg.bouncycastle.mail.smime.util.SharedFileInputStream
- SharedInputStream
public class SharedFileInputStream
extends FilterInputStream
implements SharedInputStream
void | dispose()- Close of this stream and any substreams that have been created from it.
|
long | getPosition()
|
void | mark(int readLimit)
|
InputStream | newStream(long start, long finish)
|
int | read()
|
int | read(byte[] buf)
|
int | read(byte[] buf, int off, int len)
|
void | reset()
|
SharedFileInputStream
public SharedFileInputStream(File file)
throws IOException
SharedFileInputStream
public SharedFileInputStream(String fileName)
throws IOException
dispose
public void dispose()
throws IOException Close of this stream and any substreams that have been created from it.
getPosition
public long getPosition()
mark
public void mark(int readLimit)
newStream
public InputStream newStream(long start,
long finish)
read
public int read()
throws IOException
read
public int read(byte[] buf)
throws IOException
read
public int read(byte[] buf,
int off,
int len)
throws IOException
reset
public void reset()
throws IOException