com.pholser.util.properties
Annotation Type ParsedAs


@Documented
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface ParsedAs

Mark an interface method with this annotation to indicate that values for the property represented by the method are parsed according to the given patterns. For Date-returning methods, the patterns are to be specified as described in SimpleDateFormat. This annotation is rejected for any other type.

Author:
Paul Holser
See Also:
BoundProperty

Required Element Summary
 String[] value
          Date patterns with which to parse a property value.
 

Element Detail

value

public abstract String[] value
Date patterns with which to parse a property value.

Returns:
date patterns


© Copyright 2009-2013 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu