gnu.crypto.keyring
Class MeteredInputStream
FilterInputStream
gnu.crypto.keyring.MeteredInputStream
(package private) final class MeteredInputStream
extends FilterInputStream
MeteredInputStream
(package private) MeteredInputStream(InputStream in,
int limit)
available
public int available()
throws IOException
close
public void close()
throws IOException
limitReached
public boolean limitReached()
Tests if the number of bytes read has reached the limit.
- True if the limit has been reached.
mark
public void mark(int readLimit)
markSupported
public boolean markSupported()
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 len)
throws IOException
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.