| Package | Description |
|---|---|
| com.google.common.io |
This package contains utility methods and classes for working with Java I/O; for example input streams, output streams, readers, writers, and files.
|
| Modifier and Type | Method and Description |
|---|---|
static BaseEncoding |
BaseEncoding.base16()
The "base16" encoding specified by
RFC 4648 section 8, Base 16 Encoding.
|
static BaseEncoding |
BaseEncoding.base32()
The "base32" encoding specified by
RFC 4648 section 6, Base 32 Encoding.
|
static BaseEncoding |
BaseEncoding.base32Hex()
The "base32hex" encoding specified by
RFC 4648 section 7, Base 32 Encoding with Extended Hex Alphabet.
|
static BaseEncoding |
BaseEncoding.base64()
The "base64" base encoding specified by
RFC 4648 section 4, Base 64 Encoding.
|
static BaseEncoding |
BaseEncoding.base64Url()
The "base64url" encoding specified by
RFC 4648 section 5, Base 64 Encoding with URL and Filename Safe Alphabet, also sometimes referred to as the "web safe Base64." (This is the same as the base 64 encoding with URL and filename safe alphabet from
RFC 3548.)
|
abstract BaseEncoding |
BaseEncoding.lowerCase()
Returns an encoding that behaves equivalently to this encoding, but encodes and decodes with lowercase letters.
|
abstract BaseEncoding |
BaseEncoding.omitPadding()
Returns an encoding that behaves equivalently to this encoding, but omits any padding characters as specified by
RFC 4648 section 3.2, Padding of Encoded Data.
|
abstract BaseEncoding |
BaseEncoding.upperCase()
Returns an encoding that behaves equivalently to this encoding, but encodes and decodes with uppercase letters.
|
abstract BaseEncoding |
BaseEncoding.withPadChar(char padChar)
Returns an encoding that behaves equivalently to this encoding, but uses an alternate character for padding.
|
abstract BaseEncoding |
BaseEncoding.withSeparator(String
Returns an encoding that behaves equivalently to this encoding, but adds a separator string after every
n characters.
|