Uses of Class
org.codehaus.jackson.Base64Variant
-
Packages that use Base64Variant Package Description org.codehaus.jackson Main public API classes of the core streaming JSON processor: most importantlyJsonFactoryused for constructing JSON parser (JsonParser) and generator (JsonParser) instances.org.codehaus.jackson.impl Parser and generator implementation classes that Jackson defines and uses.org.codehaus.jackson.map Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is viaObjectMapperclass, as well as convenience methods included inJsonParserorg.codehaus.jackson.node Contains concreteJsonNodeimplementations Jackson uses for the Tree model.org.codehaus.jackson.smile Package that contains experimental implementation of "Binary-Encoded JSON-Like" data format handlers (parser, generator, factory produce both, supporting constants).org.codehaus.jackson.util Utility classes used by Jackson Core functionality. -
-
Uses of Base64Variant in org.codehaus.jackson
Fields in org.codehaus.jackson declared as Base64Variant Modifier and Type Field Description static Base64VariantBase64Variants. MIMEThis variant is what most people would think of "the standard" Base64 encoding.static Base64VariantBase64Variants. MIME_NO_LINEFEEDSSlightly non-standard modification ofBase64Variants.MIMEwhich does not use linefeeds (max line length set to infinite).static Base64VariantBase64Variants. MODIFIED_FOR_URLThis non-standard variant is usually used when encoded data needs to be passed via URLs (such as part of GET request).static Base64VariantBase64Variants. PEMThis variant is the one that predatesBase64Variants.MIME: it is otherwise identical, except that it mandates shorter line length.Methods in org.codehaus.jackson that return Base64Variant Modifier and Type Method Description static Base64VariantBase64Variants. getDefaultVariant()Method used to get the default variant ("MIME_NO_LINEFEEDS") for cases where caller does not explicitly specify the variant.Methods in org.codehaus.jackson with parameters of type Base64Variant Modifier and Type Method Description abstract byte[]JsonParser. 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 voidJsonGenerator. 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).Constructors in org.codehaus.jackson with parameters of type Base64Variant Constructor Description Base64Variant(Base64Variant base, java.lang.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) differBase64Variant(Base64Variant base, java.lang.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). -
Uses of Base64Variant in org.codehaus.jackson.impl
Methods in org.codehaus.jackson.impl with parameters of type Base64Variant Modifier and Type Method Description protected voidJsonParserMinimalBase. _decodeBase64(java.lang.String str, ByteArrayBuilder builder, Base64Variant b64variant)Helper method that can be used for base64 decoding in cases where encoded content has already been read as a String.protected byte[]ReaderBasedParser. _decodeBase64(Base64Variant b64variant)Efficient handling for incremental parsing of base64-encoded textual content.protected byte[]Utf8StreamParser. _decodeBase64(Base64Variant b64variant)Efficient handling for incremental parsing of base64-encoded textual content.protected intJsonParserBase. _decodeBase64Escape(Base64Variant b64variant, char ch, int index)protected intJsonParserBase. _decodeBase64Escape(Base64Variant b64variant, int ch, int index)protected voidJsonParserMinimalBase. _reportInvalidBase64(Base64Variant b64variant, char ch, int bindex, java.lang.String msg)protected voidUtf8Generator. _writeBinary(Base64Variant b64variant, byte[] input, int inputPtr, int inputEnd)protected voidWriterBasedGenerator. _writeBinary(Base64Variant b64variant, byte[] input, int inputPtr, int inputEnd)abstract byte[]JsonParserMinimalBase. getBinaryValue(Base64Variant b64variant)byte[]ReaderBasedParser. getBinaryValue(Base64Variant b64variant)byte[]Utf8StreamParser. getBinaryValue(Base64Variant b64variant)protected java.lang.IllegalArgumentExceptionJsonParserBase. reportInvalidBase64Char(Base64Variant b64variant, int ch, int bindex)protected java.lang.IllegalArgumentExceptionJsonParserBase. reportInvalidBase64Char(Base64Variant b64variant, int ch, int bindex, java.lang.String msg)voidUtf8Generator. writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)voidWriterBasedGenerator. writeBinary(Base64Variant b64variant, byte[] data, int offset, int len) -
Uses of Base64Variant in org.codehaus.jackson.map
Methods in org.codehaus.jackson.map that return Base64Variant Modifier and Type Method Description Base64VariantDeserializationConfig. getBase64Variant()Method called during deserialization if Base64 encoded content needs to be decoded.Base64VariantDeserializationContext. getBase64Variant()Convenience method for accessing the default Base64 encoding used for decoding base64 encoded binary content. -
Uses of Base64Variant in org.codehaus.jackson.node
Methods in org.codehaus.jackson.node with parameters of type Base64Variant Modifier and Type Method Description protected voidTextNode. _reportInvalidBase64(Base64Variant b64variant, char ch, int bindex)protected voidTextNode. _reportInvalidBase64(Base64Variant b64variant, char ch, int bindex, java.lang.String msg)byte[]TextNode. getBinaryValue(Base64Variant b64variant)Method for accessing textual contents assuming they were base64 encoded; if so, they are decoded and resulting binary data is returned.byte[]TreeTraversingParser. getBinaryValue(Base64Variant b64variant) -
Uses of Base64Variant in org.codehaus.jackson.smile
Methods in org.codehaus.jackson.smile with parameters of type Base64Variant Modifier and Type Method Description protected byte[]SmileParser. _decodeBase64(Base64Variant b64variant)byte[]SmileParser. getBinaryValue(Base64Variant b64variant)voidSmileGenerator. writeBinary(Base64Variant b64variant, byte[] data, int offset, int len) -
Uses of Base64Variant in org.codehaus.jackson.util
Methods in org.codehaus.jackson.util with parameters of type Base64Variant Modifier and Type Method Description byte[]JsonParserDelegate. getBinaryValue(Base64Variant b64variant)byte[]TokenBuffer.Parser. getBinaryValue(Base64Variant b64variant)voidJsonGeneratorDelegate. writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)voidTokenBuffer. writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)
-