parse


Description:

public static DashType parse (string input) throws ParseError

Parse the input file representation of a dash type

Parameters:

input

the string representation of the dash type

Returns:

a valid dash type

Exceptions:

ParseError.INVALID_INTEGER

not a valid number

ParseError.OUT_OF_RANGE

input outside valid rang of dash types