sun.misc
Class BASE64Encoder
java.lang.Object
sun.misc.CharacterEncoder
sun.misc.BASE64Encoder
- public final class BASE64Encoder
- extends sun.misc.CharacterEncoder
This class is intended to replace the original one to make use
of the ByteCream Base64 Encoder. To use it, add the jar
bcb64enc-sun-adapter.jar to your bootclasspath.
IMPORTANT:Since this class is internal to Sun JRE, it comes
without warranty. Read the license before.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
Method Summary |
java.lang.String |
encode(byte[] _data)
|
void |
encode(byte[] _data,
java.io.OutputStream _out)
|
java.lang.String |
encode(java.nio.ByteBuffer _data)
|
void |
encode(java.nio.ByteBuffer _data,
java.io.OutputStream _out)
|
void |
encode(java.io.InputStream _in,
java.io.OutputStream _out)
|
java.lang.String |
encodeBuffer(byte[] _data)
|
void |
encodeBuffer(byte[] _data,
java.io.OutputStream _out)
|
java.lang.String |
encodeBuffer(java.nio.ByteBuffer _data)
|
void |
encodeBuffer(java.nio.ByteBuffer _data,
java.io.OutputStream _out)
|
void |
encodeBuffer(java.io.InputStream _in,
java.io.OutputStream _out)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE64Encoder
public BASE64Encoder()
encode
public void encode(java.io.InputStream _in,
java.io.OutputStream _out)
throws java.io.IOException
- Throws:
java.io.IOException
encode
public void encode(byte[] _data,
java.io.OutputStream _out)
throws java.io.IOException
- Throws:
java.io.IOException
encode
public java.lang.String encode(byte[] _data)
encode
public void encode(java.nio.ByteBuffer _data,
java.io.OutputStream _out)
throws java.io.IOException
- Throws:
java.io.IOException
encode
public java.lang.String encode(java.nio.ByteBuffer _data)
encodeBuffer
public void encodeBuffer(java.io.InputStream _in,
java.io.OutputStream _out)
throws java.io.IOException
- Throws:
java.io.IOException
encodeBuffer
public void encodeBuffer(byte[] _data,
java.io.OutputStream _out)
throws java.io.IOException
- Throws:
java.io.IOException
encodeBuffer
public java.lang.String encodeBuffer(byte[] _data)
encodeBuffer
public void encodeBuffer(java.nio.ByteBuffer _data,
java.io.OutputStream _out)
throws java.io.IOException
- Throws:
java.io.IOException
encodeBuffer
public java.lang.String encodeBuffer(java.nio.ByteBuffer _data)