public final class StringSerializer extends Object implements jdbm.helper.Serializer
Modifier and Type | Field and Description |
---|---|
static StringSerializer |
INSTANCE
A static instance of a StringSerializer
|
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(byte[] bytes) |
byte[] |
serialize(Object str) |
public static final StringSerializer INSTANCE
public Object deserialize(byte[] bytes) throws IOException
deserialize
in interface jdbm.helper.Serializer
IOException
public byte[] serialize(Object str) throws IOException
serialize
in interface jdbm.helper.Serializer
IOException
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.