org.fcrepo.server.rest.param
Class DateTimeParam

java.lang.Object
  extended by org.fcrepo.server.rest.param.AbstractParam<Date>
      extended by org.fcrepo.server.rest.param.DateTimeParam

public class DateTimeParam
extends AbstractParam<Date>

A JAX-RS parameter handler for ISO datetime Strings.

Version:
$Id$
Author:
Edwin Shin

Constructor Summary
DateTimeParam(String param)
           
 
Method Summary
protected  Date parse(String param)
           
 String toString()
           
 
Methods inherited from class org.fcrepo.server.rest.param.AbstractParam
getErrorMessage, getOriginalParam, getValue, onError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateTimeParam

public DateTimeParam(String param)
              throws javax.ws.rs.WebApplicationException
Throws:
javax.ws.rs.WebApplicationException
Method Detail

parse

protected Date parse(String param)
              throws Throwable
Specified by:
parse in class AbstractParam<Date>
Throws:
Throwable

toString

public String toString()
Overrides:
toString in class AbstractParam<Date>


Copyright © 2011 DuraSpace. All Rights Reserved.