parses the string containing color in hexadecimal format #rrggbb and converts it to the color . concode_field_sep PlaceHolder placeHolder concode_field_sep String createColor concode_elem_sep String parserNumber concode_elem_sep String convertBoolean concode_elem_sep Boolean parseBoolean concode_elem_sep String parserUnit
Color function ( String arg0 ) { if ( arg0 . length ( ) != 7 ) return null ; try { return new Color ( Integer . parseInt ( arg0 . substring ( 1 , 3 ) , 16 ) , Integer . parseInt ( arg0 . substring ( 3 , 5 ) , 16 ) , Integer . parseInt ( arg0 . substring ( 5 , 7 ) , 16 ) ) ; } catch ( Throwable loc0 ) { return null ; } }