java.lang.Object | ||||
java.io.InputStream | Closeable | |||
java.io.FilterInputStream | ||||
javax.crypto.CipherInputStream |
CipherInputStream(InputStream is, Cipher c) |
CipherInputStream(InputStream is) |
int | available() | |||||
Returns a int representing the number of bytes that are available before this FilterInputStream will block. | ||||||
void | close() | |||||
Close this FilterInputStream. | ||||||
boolean | markSupported() | |||||
Returns a boolean indicating whether or not this FilterInputStream supports mark() and reset(). | ||||||
int | read(byte[] b, int off, int len) | |||||
Reads at most count bytes from this FilterInputStream and
stores them in byte array buffer starting at
offset . |
||||||
int | read(byte[] b) | |||||
Reads bytes from this FilterInputStream and stores them in byte array
buffer . |
||||||
int | read() | |||||
Reads a single byte from this FilterInputStream and returns the result as an int. | ||||||
long | skip(long n) | |||||
Skips count number of bytes in this InputStream. |
IOException |
---|
IOException |
---|
true
if mark() and reset() are supported,
false
otherwise.
count
bytes from this FilterInputStream and
stores them in byte array buffer
starting at
offset
. Answer the number of bytes actually read or -1 if
no bytes were read and end of stream was encountered. This implementation
reads bytes from the target stream.
b | the byte array in which to store the read bytes. |
---|---|
off | the offset in buffer to store the read bytes. |
len | the maximum number of bytes to store in buffer . |
IOException |
---|
buffer
. Answer the number of bytes actually read or -1 if
no bytes were read and end of stream was encountered. This implementation
reads bytes from the target stream.
b | the byte array in which to store the read bytes. |
---|
IOException |
---|
IOException |
---|
count
number of bytes in this InputStream.
Subsequent read()
's will not return these bytes unless
reset()
is used. This implementation skips
count
number of bytes in the target stream.
n | the number of bytes to skip. |
---|
IOException |
---|
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:48 |