net.sf.jbaobab.helper
Class ProtocolHelper.DummyTranslatorImpl
java.lang.Object
net.sf.jbaobab.helper.ProtocolHelper.DummyTranslatorImpl
- All Implemented Interfaces:
- Translator<ByteBuffer>
- Enclosing class:
- ProtocolHelper
public static final class ProtocolHelper.DummyTranslatorImpl
- extends Object
- implements Translator<ByteBuffer>
A Translator
that does not translate anything.
DummyTranslatorImpl
instance is used when
ProtocolHelper.pack(Seperator)
is called.
- Author:
- Oakyoon Cha
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
translate
public ByteBuffer translate(ByteBuffer buffer)
- Specified by:
translate
in interface Translator<ByteBuffer>