|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
junkutil.crypt.BASE64.OutputStream
public static class BASE64.OutputStream
A BASE64.OutputStream
will write data to another
java.io.OutputStream, given in the constructor,
and encode/decode to/from BASE64 notation on the fly.
BASE64
フィールドの概要 |
---|
クラス java.io.FilterOutputStream から継承されたフィールド |
---|
out |
コンストラクタの概要 | |
---|---|
BASE64.OutputStream(java.io.OutputStream out)
Constructs a BASE64.OutputStream in ENCODE mode. |
|
BASE64.OutputStream(java.io.OutputStream out,
int options)
Constructs a BASE64.OutputStream in
either ENCODE or DECODE mode. |
メソッドの概要 | |
---|---|
void |
close()
Flushes and closes (I think, in the superclass) the stream. |
void |
flushBase64()
Method added by PHIL. |
void |
resumeEncoding()
Resumes encoding of the stream. |
void |
suspendEncoding()
Suspends encoding of the stream. |
void |
write(byte[] theBytes,
int off,
int len)
Calls write(int) repeatedly until len
bytes are written. |
void |
write(int theByte)
Writes the byte to the output stream after converting to/from BASE64 notation. |
クラス java.io.FilterOutputStream から継承されたメソッド |
---|
flush, write |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public BASE64.OutputStream(java.io.OutputStream out)
BASE64.OutputStream
in ENCODE mode.
out
- the java.io.OutputStream to which data will be written.public BASE64.OutputStream(java.io.OutputStream out, int options)
BASE64.OutputStream
in
either ENCODE or DECODE mode.
Valid options:
ENCODE or DECODE: Encode or Decode as data is read. DO_BREAK_LINES: don't break lines at 76 characters (only meaningful when encoding)
Example: new BASE64.OutputStream( out, BASE64.ENCODE )
out
- the java.io.OutputStream to which data will be written.options
- Specified options.BASE64.ENCODE
,
BASE64.DECODE
,
BASE64.DO_BREAK_LINES
メソッドの詳細 |
---|
public void write(int theByte) throws java.io.IOException
java.io.FilterOutputStream
内の write
theByte
- the byte to write
java.io.IOException
public void write(byte[] theBytes, int off, int len) throws java.io.IOException
write(int)
repeatedly until len
bytes are written.
java.io.FilterOutputStream
内の write
theBytes
- array from which to read bytesoff
- offset for arraylen
- max number of bytes to read into array
java.io.IOException
public void flushBase64() throws java.io.IOException
java.io.IOException
- if there's an error.public void close() throws java.io.IOException
java.io.Closeable
内の close
java.io.FilterOutputStream
内の close
java.io.IOException
public void suspendEncoding() throws java.io.IOException
java.io.IOException
- if there's an error flushingpublic void resumeEncoding()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |