parse


Description:

public static CapType parse (string input) throws ParseError

Parse the input file representation of a CapType

Parameters:

input

the string representation of the cap type

Returns:

the cap type

Exceptions:

ParseError.INVALID_INTEGER

not a valid number

ParseError.OUT_OF_RANGE

input outside 32 valid cap type range