public class StringSerialize
extends java.lang.Object
| Constructor and Description |
|---|
StringSerialize() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
deserialize(java.lang.String str)
Deserialize string into String array
|
static java.lang.String |
serialize(java.lang.String[] str)
Serialize string array to string
|
public static java.lang.String serialize(java.lang.String[] str)
throws java.io.IOException
str - String arrayjava.io.IOExceptionpublic static java.lang.String[] deserialize(java.lang.String str)
throws java.lang.ClassNotFoundException,
java.io.IOException,
org.apache.commons.codec.DecoderException
str - Serialized stringjava.lang.ClassNotFoundExceptionjava.io.IOExceptionorg.apache.commons.codec.DecoderException