|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
junkutil.crypt.BASE64.InputStream
public static class BASE64.InputStream
A BASE64.InputStream
will read data from another
java.io.InputStream, given in the constructor,
and encode/decode to/from BASE64 notation on the fly.
BASE64
フィールドの概要 |
---|
クラス java.io.FilterInputStream から継承されたフィールド |
---|
in |
コンストラクタの概要 | |
---|---|
BASE64.InputStream(java.io.InputStream in)
Constructs a BASE64.InputStream in DECODE mode. |
|
BASE64.InputStream(java.io.InputStream in,
int options)
Constructs a BASE64.InputStream in
either ENCODE or DECODE mode. |
メソッドの概要 | |
---|---|
int |
read()
Reads enough of the input stream to convert to/from BASE64 and returns the next byte. |
int |
read(byte[] dest,
int off,
int len)
Calls read() repeatedly until the end of stream
is reached or len bytes are read. |
クラス java.io.FilterInputStream から継承されたメソッド |
---|
available, close, mark, markSupported, read, reset, skip |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public BASE64.InputStream(java.io.InputStream in)
BASE64.InputStream
in DECODE mode.
in
- the java.io.InputStream from which to read data.public BASE64.InputStream(java.io.InputStream in, int options)
BASE64.InputStream
in
either ENCODE or DECODE mode.
Valid options:
ENCODE or DECODE: Encode or Decode as data is read. DO_BREAK_LINES: break lines at 76 characters (only meaningful when encoding)
Example: new BASE64.InputStream( in, BASE64.DECODE )
in
- the java.io.InputStream from which to read data.options
- Specified optionsBASE64.ENCODE
,
BASE64.DECODE
,
BASE64.DO_BREAK_LINES
メソッドの詳細 |
---|
public int read() throws java.io.IOException
java.io.FilterInputStream
内の read
java.io.IOException
public int read(byte[] dest, int off, int len) throws java.io.IOException
read()
repeatedly until the end of stream
is reached or len bytes are read.
Returns number of bytes read into array or -1 if
end of stream is encountered.
java.io.FilterInputStream
内の read
dest
- array to hold valuesoff
- offset for arraylen
- max number of bytes to read into array
java.io.IOException
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |