public class PropertiesSerDesUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
currentVersion()
Get version of current serializer implementation.
|
static java.util.Map<java.lang.String,java.lang.String> |
read(byte[] content,
java.lang.String version)
Read properties
|
static byte[] |
toBytes(java.util.Map<java.lang.String,java.lang.String> value)
Write properties, the version is
currentVersion() |
public static java.util.Map<java.lang.String,java.lang.String> read(byte[] content, java.lang.String version)
version
- is the version of PropertiesSerDesUtil
public static byte[] toBytes(java.util.Map<java.lang.String,java.lang.String> value)
currentVersion()
public static java.lang.String currentVersion()