软件包 | 描述 |
---|---|
java.util |
包含集合框架、遗留的集合类、事件模型、日期和时间的设施、国际化和各种实用工具类(一个字符串标记,一个随机数发生器,和一位阵列)。
|
Modifier and Type | Method and Description |
---|---|
static Base64.Encoder |
Base64.getEncoder()
返回编码使用
Basic型Base64编码方案
Base64.Encoder 。
|
static Base64.Encoder |
Base64.getMimeEncoder()
返回编码使用
MIME型Base64编码方案
Base64.Encoder 。
|
static Base64.Encoder |
Base64.getMimeEncoder(int lineLength, byte[] lineSeparator)
返回一个
Base64.Encoder 编码使用
MIME型Base64编码方案指定的线路长度、线路分离器。
|
static Base64.Encoder |
Base64.getUrlEncoder()
返回编码使用
URL and Filename safe型Base64编码方案
Base64.Encoder 。
|
Base64.Encoder |
Base64.Encoder.withoutPadding()
返回一个编码器的编码实例,相当于这一个,但没有在编码的字节数据的末尾添加任何填充字符。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.