| com.sun.portal.util.Http64Decoder
Http64Decoder | public class Http64Decoder extends CharacterDecoder (Code) | | This class decodes characters that were perviously encoded using a variant of
Base64 encoding. This encoding results in an encoded string that doesn't
need to be escaped for use in HTTP URLs. Specifically, the following
characters are remapped in this implementation:
Location Base64 Http64
-------- ------ ------
62 + -
63 / _
(pad) = $
The Base64 implementation relies on the sun.misc.* package
included with Sun's implementation of the Java Platform; there is no
guarantee that this implementation will be used in future versions of this
class.
author: Todd Fast, todd.fast@sun.com author: Mike Frisino, michael.frisino@sun.com version: JATO/1.2.2 $Id: Http64Decoder.java,v 1.1 2005/06/15 22:23:16 rt94277 Exp $ version: This class is copied from JATO 1.2.2 util package. |
decode_buffer | byte decode_buffer(Code) | | |
Http64Decoder | public Http64Decoder()(Code) | | Default constructor
|
bytesPerAtom | protected int bytesPerAtom()(Code) | | |
bytesPerLine | protected int bytesPerLine()(Code) | | |
decodeAtom | protected void decodeAtom(InputStream inStream, OutputStream outStream, int rem) throws java.io.IOException(Code) | | The signature of the decodeAtom() method change in JDK 1.4. This method
reflects the original 1.3 version of the method.
|
|
|