| 程序包 | 说明 |
|---|---|
| org.hotwheel.json.impl.jackson |
| 限定符和类型 | 字段和说明 |
|---|---|
static Base64Variant |
Base64Variants.MIME
This variant is what most people would think of "the standard"
Base64 encoding.
|
static Base64Variant |
Base64Variants.MIME_NO_LINEFEEDS
Slightly non-standard modification of
Base64Variants.MIME which does not
use linefeeds (max line length set to infinite). |
static Base64Variant |
Base64Variants.MODIFIED_FOR_URL
This non-standard variant is usually used when encoded data needs to be
passed via URLs (such as part of GET request).
|
static Base64Variant |
Base64Variants.PEM
This variant is the one that predates
Base64Variants.MIME: it is otherwise
identical, except that it mandates shorter line length. |
| 限定符和类型 | 方法和说明 |
|---|---|
static Base64Variant |
Base64Variants.getDefaultVariant()
Method used to get the default variant ("MIME_NO_LINEFEEDS") for cases
where caller does not explicitly specify the variant.
|
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
ReaderBasedJsonParser.getBinaryValue(Base64Variant b64variant) |
byte[] |
JsonParserDelegate.getBinaryValue(Base64Variant b64variant) |
abstract byte[] |
JacksonParser.getBinaryValue(Base64Variant b64variant)
Method that can be used to read (and consume -- results
may not be accessible using other methods after the call)
base64-encoded binary data
included in the current textual JSON value.
|
abstract byte[] |
ParserMinimalBase.getBinaryValue(Base64Variant b64variant) |
byte[] |
UTF8StreamJsonParser.getBinaryValue(Base64Variant b64variant) |
abstract void |
JsonGenerator.writeBinary(Base64Variant b64variant,
byte[] data,
int offset,
int len)
Method that will output given chunk of binary data as base64
encoded, as a complete String value (surrounded by double quotes).
|
void |
JsonGeneratorDelegate.writeBinary(Base64Variant b64variant,
byte[] data,
int offset,
int len) |
void |
UTF8JsonGenerator.writeBinary(Base64Variant b64variant,
byte[] data,
int offset,
int len) |
void |
WriterBasedJsonGenerator.writeBinary(Base64Variant b64variant,
byte[] data,
int offset,
int len) |
| 构造器和说明 |
|---|
Base64Variant(Base64Variant base,
String name,
boolean usesPadding,
char paddingChar,
int maxLineLength)
"Copy constructor" that can be used when the base alphabet is identical
to one used by another variant, but other details (padding, maximum
line length) differ
|
Base64Variant(Base64Variant base,
String name,
int maxLineLength)
"Copy constructor" that can be used when the base alphabet is identical
to one used by another variant except for the maximum line length
(and obviously, name).
|
Copyright © 2002–2019 The MyMMSCs Software Foundation. All rights reserved.