net.sf.basedb.util.encode
Class IdentityEncoderDecoder
java.lang.Object
net.sf.basedb.util.encode.IdentityEncoderDecoder
- All Implemented Interfaces:
- EncoderDecoder
public class IdentityEncoderDecoder
- extends Object
- implements EncoderDecoder
Encoder decoder implementation that doesn't encode or decode
anything.
- Since:
- 2.15
- Author:
- Nicklas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityEncoderDecoder
public IdentityEncoderDecoder()
isSymmetrical
public boolean isSymmetrical()
- Specified by:
isSymmetrical
in interface EncoderDecoder
- Returns:
- TRUE if the encoder is symmetrical, FALSE if not
decode
public String decode(String s)
- Specified by:
decode
in interface EncoderDecoder
- Parameters:
s
- The string to decode
- Returns:
- The decoded string
encode
public String encode(String s)
- Specified by:
encode
in interface EncoderDecoder
- Parameters:
s
- The string to encode
- Returns:
- The encoded string