org.msgpack.template
Class StringTemplate

java.lang.Object
  extended by org.msgpack.template.AbstractTemplate<String>
      extended by org.msgpack.template.StringTemplate
All Implemented Interfaces:
Template<String>

public class StringTemplate
extends AbstractTemplate<String>


Method Summary
static StringTemplate getInstance()
           
 String read(Unpacker u, String to, boolean required)
           
 void write(Packer pk, String target, boolean required)
           
 
Methods inherited from class org.msgpack.template.AbstractTemplate
read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public void write(Packer pk,
                  String target,
                  boolean required)
           throws IOException
Throws:
IOException

read

public String read(Unpacker u,
                   String to,
                   boolean required)
            throws IOException
Throws:
IOException

getInstance

public static StringTemplate getInstance()


Copyright © 2011. All Rights Reserved.