org.infinispan.cli.interpreter.codec
Class NoneCodec
java.lang.Object
org.infinispan.cli.interpreter.codec.NoneCodec
- All Implemented Interfaces:
- Codec
public class NoneCodec
- extends Object
- implements Codec
NoneCodec. This codec leaves keys/values as is without applying any transformation
It is the default codec.
- Since:
- 5.2
- Author:
- Tristan Tarrant
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoneCodec
public NoneCodec()
getName
public String getName()
- Specified by:
getName
in interface Codec
encodeKey
public Object encodeKey(Object key)
- Specified by:
encodeKey
in interface Codec
encodeValue
public Object encodeValue(Object value)
- Specified by:
encodeValue
in interface Codec
decodeKey
public Object decodeKey(Object key)
- Specified by:
decodeKey
in interface Codec
decodeValue
public Object decodeValue(Object value)
- Specified by:
decodeValue
in interface Codec
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.