org.das2.datum.TimeParser.EnumFieldHandler

"$Y$m$d-$(enum;values=a,b,c,d)", "20130202-a", "2013-02-02/2013-02-03"

EnumFieldHandler( )


configure

configure( java.util.Map args ) → String

Parameters

args - a java.util.Map

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


format

format( org.das2.datum.TimeUtil.TimeStruct startTime, org.das2.datum.TimeUtil.TimeStruct timeWidth, int length, java.util.Map extra ) → String

Parameters

startTime - a TimeUtil.TimeStruct
timeWidth - a TimeUtil.TimeStruct
length - an int
extra - a java.util.Map

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getId

getId( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getRegex

getRegex( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getValues

getValues( ) → String[]

return the possible values.

Returns:

the possible values.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


parse

parse( String fieldContent, org.das2.datum.TimeUtil.TimeStruct startTime, org.das2.datum.TimeUtil.TimeStruct timeWidth, java.util.Map extra ) → void

Parameters

fieldContent - a String
startTime - a TimeUtil.TimeStruct
timeWidth - a TimeUtil.TimeStruct
extra - a java.util.Map

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]