public interface StringCodec
Modifier and Type | Method and Description |
---|---|
String |
decode(String encoding)
This method takes an encoded string and returns the decoded
original string.
|
String |
encode(String original)
This method takes some original string and returns it encoded in
a different form.
|
int |
size()
Returns the number of mappings in the codec.
|
String encode(String original)
original
- the original stringString decode(String encoding)
encoding
- the encoded stringint size()
Copyright © 2015. All Rights Reserved.