org.bouncycastle.mail.smime.util
Class SharedFileInputStream
FilterInputStream
org.bouncycastle.mail.smime.util.SharedFileInputStream
- SharedInputStream
public class SharedFileInputStream
extends FilterInputStream
implements SharedInputStream
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()
getRoot
public SharedFileInputStream getRoot()
Return the shared stream that represents the top most stream that
this stream inherits from.
- the base of the shared stream tree.
mark
public void mark(int readLimit)
markSupported
public boolean markSupported()
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
skip
public long skip(long n)
throws IOException