org.msgpack.template
Class DateTemplate

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

public class DateTemplate
extends AbstractTemplate<Date>


Method Summary
static DateTemplate getInstance()
           
 Date read(Unpacker u, Date to, boolean required)
           
 void write(Packer pk, Date 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,
                  Date target,
                  boolean required)
           throws IOException
Throws:
IOException

read

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

getInstance

public static DateTemplate getInstance()


Copyright © 2011. All Rights Reserved.