资源简介
BASE64Encoder.java和BASE64Decoder.java所有需要的类
包含(BASE64Encoder.java、BASE64Decoder.java、CEFormatException.java、CEStreamExhausted.java、CharacterDecoder.java、CharacterEncoder.java)

代码片段和文件信息
/*
2 * Copyright (c) 1995 2000 Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the “Classpath“ exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not write to the Free Software Foundation
19 * Inc. 51 Franklin St Fifth Floor Boston MA 02110-1301 USA.
20 *
21 * Please contact Oracle 500 Oracle Parkway Redwood Shores CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
package sun.misc;
import java.io.OutputStream;
import java.io.PushbackInputStream;
import com.rt.CEFormatException;
import com.rt.CEStreamExhausted;
import com.rt.CharacterDecoder;
/**
32 * This class implements a base64 Character decoder as specified in RFC1521.
33 *
34 * This RFC is part of the MIME specification which is published by the
35 * Internet Engineering Task Force (IETF). Unlike some other encoding
36 * schemes there is nothing in this encoding that tells the decoder
37 * where a buffer starts or stops so to use it you will need to isolate
38 * your encoded data into a single chunk and then feed them this decoder.
39 * The simplest way to do that is to read all of the encoded data into a
40 * string and then use:
41 *
42 * byte mydata[];
43 * base64Decoder base64 = new base64Decoder();
44 *
45 * mydata = base64.decodeBuffer(bufferString);
46 *
47 * This will decode the String in bufferString and give you an array
48 * of bytes in the array myData.
49 *
50 * On errors this class throws a CEFormatException with the following detail
51 * strings:
52 *
53 * “base64Decoder: Not enough bytes for an atom.“
54 *
55 *
56 * @author Chuck McManis
57 * @see CharacterEncoder
58 * @see base64Decoder
59 */
public class base64Decoder extends CharacterDecoder {
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6167 2017-11-10 11:40 rt\ba
文件 4210 2017-11-10 11:40 rt\ba
文件 166 2017-11-10 11:40 rt\CEFormatException.java
文件 110 2017-11-10 11:40 rt\CEStreamExhausted.java
文件 8645 2017-11-10 11:40 rt\CharacterDecoder.java
文件 11939 2017-11-10 11:40 rt\CharacterEncoder.java
目录 0 2017-11-10 11:44 rt\
- 上一篇:RS485电梯门禁控制器接口详情含JAVA代码
- 下一篇:Java接口自动化测试
相关资源
- 韩顺平Java和javaEE视频教程资 资源 完
- Android 广告轮播资源
- 高仿淘宝收货地址,内置全国各个省
- 高仿淘宝收货地址,内置全国各个省
- 《轻量级JavaEE企业应用实战》配套资
- 学校图书Java web开发资源库软件说明
- JAVA企业人力资源管理系统
- StarUML5.0中文汉化版文件.zip
- 二维码jar资源
- 火车3D模型集合
- 淘淘商城单点登录工程静态资源文件
- 面试资源--android客户端方向
- C#培训全套资源讲师:周红安
- javaweb课程资源管理系统.zip
- 医院管理需求分析书
- Android反编译回编译资源apktool
- 基于JAVA的人力资源管理系统
- Protobuf-3.3生成器PB和java资源.zip
- 《Java程序设计与实训》配套资料源码
- Java毕业设计网上拍卖系统 CSDN资源
- TiledMapPacker资源处理工具
- 优博讯最新Android安卓SDK资源包V3,含
- java mvc实现物流资源管理系统
- 人力资源管理系统 软件工程全文档超
- 融云即时通讯library \“libsqlite.so\“
- Xdoc资源jar包hg.jar
- Android 雷电 飞机 游戏图片资源
- JNative资源包
- java人力资源管理系统毕业设计
- Java开发的实验教学资源管理系统
评论
共有 条评论