Package com.mku.android.sequence
Class AndroidSequenceSerializer
java.lang.Object
com.mku.android.sequence.AndroidSequenceSerializer
- All Implemented Interfaces:
INonceSequenceSerializer
Sequence parser for Android.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(String contents) Deserialize nonce sequences.serialize
(HashMap<String, NonceSequence> sequences) Serialize nonce sequences.
-
Constructor Details
-
AndroidSequenceSerializer
public AndroidSequenceSerializer()
-
-
Method Details
-
serialize
Serialize nonce sequences.- Specified by:
serialize
in interfaceINonceSequenceSerializer
- Parameters:
sequences
- The sequences to convert to text.- Returns:
- The serialized contents
- Throws:
SequenceException
- Thrown if error with the sequence
-
deserialize
Deserialize nonce sequences.- Specified by:
deserialize
in interfaceINonceSequenceSerializer
- Parameters:
contents
- The contents containing the nonce sequences.- Returns:
- The sequences.
- Throws:
SequenceException
- Thrown if error with the nonce sequence
-