Package net.sf.basedb.util.encode
Class IdentityEncoderDecoder
java.lang.Object
net.sf.basedb.util.encode.IdentityEncoderDecoder
- All Implemented Interfaces:
EncoderDecoder
Encoder decoder implementation that doesn't encode or decode
anything.
- Since:
- 2.15
- Author:
- Nicklas
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IdentityEncoderDecoder
public IdentityEncoderDecoder()
-
-
Method Details
-
isSymmetrical
public boolean isSymmetrical()- Specified by:
isSymmetrical
in interfaceEncoderDecoder
- Returns:
- TRUE if the encoder is symmetrical, FALSE if not
-
decode
- Specified by:
decode
in interfaceEncoderDecoder
- Parameters:
s
- The string to decode- Returns:
- The decoded string
-
encode
- Specified by:
encode
in interfaceEncoderDecoder
- Parameters:
s
- The string to encode- Returns:
- The encoded string
-