public final class Decoding extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Decoding.Builder
Collects the members of a new
Decoding. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<Decoding> |
READER
Reads a JSON object as a
Decoding. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static Decoding.Builder |
builder() |
static Decoding |
fromJson(Object json)
A
Decoding with the members of a JSON object, all kept. |
String |
getBom()
The member
bom. |
String |
getEncoding()
The member
encoding. |
String |
getLineEndings()
The member
lineEndings. |
Decoding.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<Decoding> READER
Decoding.public static Decoding fromJson(Object json)
Decoding with the members of a JSON object, all kept.public static Decoding.Builder builder()
public Decoding.Builder toBuilder()
public String getEncoding()
encoding. The character encoding (IANA charset name), such as UTF-8. Null
when absent; throws IllegalStateException when the member holds another JSON type.public String getBom()
bom. How a byte order mark is handled. Registry group 'bomHandling'
(Section 7.8). Null when absent; throws IllegalStateException when the member holds another
JSON type.public String getLineEndings()
lineEndings. How line endings are handled. Registry group
'lineEndingHandling' (Section 7.8). Null when absent; throws IllegalStateException when the
member holds another JSON type.