| Package | Description |
|---|---|
| org.marketcetera.util.unicode |
Unicode en/decoding with BOMs, including I/O stream support.
|
| Modifier and Type | Method and Description |
|---|---|
Serialization[] |
DecodingStrategy.getSerializations()
Returns the receiver's serializations.
|
static Serialization |
Serialization.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Serialization[] |
Serialization.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Serialization.decode(Serialization[] candidates,
byte[] data)
Decodes the given byte array using the charset paired to a
signature (among the pairs of the given serializations) that
matches the array header, and returns the result.
|
static SignatureCharset |
Serialization.getPrefixMatch(Serialization[] candidates,
byte[] data)
Checks whether any of the signatures among the pairs of the
given serializations matches the header of the given byte
array, and returns the matching signature/charset pair.
|
Copyright © 2015. All Rights Reserved.