| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | |
| pack-priv final int | |
| public static final TomlWriteFeature | FAIL_ON_NULL_WRITE
The TOML spec does not allow null values. |
| pack-priv static final int | INTERNAL_PROHIBIT_INTERNAL_BUFFER_ALLOCATE
Internal option for unit tests: Prohibit allocating internal buffers, except through the buffer recycler |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public boolean | enabledByDefault()
Implements com. Accessor for checking whether this feature is enabled by default. |
| public boolean | enabledIn(int
Bit field that contains a set of enabled features of this type flags)Implements com. Convenience method for checking whether feature is enabled in given bitmask |
| public int | getMask()
Implements com. Returns bit mask for this feature instance; must be a single bit,
that is of form |
| public static TomlWriteFeature | |
| public static TomlWriteFeature[] |
| _defaultState | back to summary |
|---|---|
| pack-priv final boolean _defaultState | |
| _mask | back to summary |
|---|---|
| pack-priv final int _mask | |
| FAIL_ON_NULL_WRITE | back to summary |
|---|---|
| public static final TomlWriteFeature FAIL_ON_NULL_WRITE The TOML spec does not allow null values. We instead write an empty string when
When this option is set, any attempt to write a null value will error instead. | |
| INTERNAL_PROHIBIT_INTERNAL_BUFFER_ALLOCATE | back to summary |
|---|---|
| pack-priv static final int INTERNAL_PROHIBIT_INTERNAL_BUFFER_ALLOCATE Internal option for unit tests: Prohibit allocating internal buffers, except through the buffer recycler | |
| TomlWriteFeature | back to summary |
|---|---|
| private TomlWriteFeature(boolean defaultState) | |
| collectDefaults | back to summary |
|---|---|
| public static int collectDefaults() | |
| enabledByDefault | back to summary |
|---|---|
| public boolean enabledByDefault() Implements com. Doc from com. Accessor for checking whether this feature is enabled by default.
| |
| enabledIn | back to summary |
|---|---|
| public boolean enabledIn(int flags) Implements com. Doc from com. Convenience method for checking whether feature is enabled in given bitmask
| |
| getMask | back to summary |
|---|---|
| public int getMask() Implements com. Doc from com. Returns bit mask for this feature instance; must be a single bit,
that is of form
| |
| valueOf | back to summary |
|---|---|
| public static TomlWriteFeature valueOf(String name) | |
| values | back to summary |
|---|---|
| public static TomlWriteFeature[] values() | |