org.msgpack.template
Class AnyTemplate<T>
java.lang.Object
org.msgpack.template.AbstractTemplate<T>
org.msgpack.template.AnyTemplate<T>
- All Implemented Interfaces:
- Template<T>
public class AnyTemplate<T>
- extends AbstractTemplate<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static AnyTemplate getInstance(TemplateRegistry registry)
write
public void write(Packer pk,
T target,
boolean required)
throws IOException
- Throws:
IOException
read
public T read(Unpacker u,
T to,
boolean required)
throws IOException,
MessageTypeException
- Throws:
IOException
MessageTypeException
Copyright © 2011. All Rights Reserved.