public interface Configuration
Modifier and Type | Field and Description |
---|---|
static java.nio.charset.Charset |
CHARSET |
Modifier and Type | Method and Description |
---|---|
default byte[] |
getBytes()
Returns a byte representation of this Configuration which is suitable for writing to disk.
|
default java.lang.String |
toJsonString()
Returns a JSON representation of this Configuration which is suitable for displaying to the
user.
|
default byte[] getBytes() throws ConfigStoreException
ConfigStoreException
- if serialization failsdefault java.lang.String toJsonString() throws ConfigStoreException
ConfigStoreException
- if deserialization fails