资源简介
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开发资源库
- 疯狂Java第三版百度云资源
- java web开发资源库
- 一个基于JSP的人力资源管理系统
- Java实现资源管理器
- Java资源管理器MyExplorer源码
- java文件资源管理器
- mysql-connector-java-5.1.39.jar资源
- 152G的java全套资源.zip
- j2ee课程设计题目:资源
- javaweb中怎样实现登录功能-项目资源包
- glide jar包
- Java文件资源管理器代码
- javax.servlet.jar包
- java web 项目人力资源管理系统源码
- 学通JAVA的24堂课 光盘资源
- 如何在webview中访问APP包中本地资源,
- JAVA 仿windows资源管理器的文件树
- Android资源评论工具类
- 人力资源管理系统oracle数据库
- 用java实现的资源管理器
- 基于Java的贪吃蛇游戏完整毕业论文匹
- 逍遥西游修改通用资源
- 尚硅谷全套视频地址
- XCL-Charts.jar资源包
- jdgui资源
- itext的jar包资源
- jdk1.8_linux_x64位官方正式版jdk-8u162-li
- 传播智客风清扬JAVA百度云资源
- 尚硅谷全套资源
评论
共有 条评论