All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.mime.Base64OutputStream

java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----java.io.FilterOutputStream
                   |
                   +----cryptix.mime.Base64OutputStream

public class Base64OutputStream
extends FilterOutputStream
This class implements a BASE64 Character stream decoder as specified in RFC1521, part of the MIME specification as published by the Internet Engineering Task Force (IETF).

Copyright © 1995-1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.7 $

Author:
Raif S. Naffah, David Hopwood

Constructor Index

 o Base64OutputStream(OutputStream)
Creates a Base64OutputStream with no checksum.
 o Base64OutputStream(OutputStream, boolean)
If check is true then append a PGP-style checksum immediately after the base64 portion.
 o Base64OutputStream(OutputStream, Checksum, int)
Creates a Base64OutputStream that uses the given checksum.

Method Index

 o close()
 o write(byte[], int, int)
 o write(int)

Constructors

 o Base64OutputStream
 public Base64OutputStream(OutputStream os,
                           boolean check)
If check is true then append a PGP-style checksum immediately after the base64 portion.

See Also:
PRZ24
 o Base64OutputStream
 public Base64OutputStream(OutputStream os)
Creates a Base64OutputStream with no checksum.

 o Base64OutputStream
 public Base64OutputStream(OutputStream os,
                           Checksum checksum,
                           int length)
Creates a Base64OutputStream that uses the given checksum. The checksum will be length bytes long, where 0 <= length <= 8.

Methods

 o write
 public synchronized void write(int b) throws IOException
Overrides:
write in class FilterOutputStream
 o write
 public synchronized void write(byte b[],
                                int offset,
                                int length) throws IOException
Overrides:
write in class FilterOutputStream
 o close
 public synchronized void close() throws IOException
Overrides:
close in class FilterOutputStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index