public static SketchHex create(String sketchName,String hexString) throws HexParsingException {
  if (sketchName.length() > Constants.MAX_SKETCH_NAME_LENGTH) {
    sketchName=sketchName.substring(0,Constants.MAX_SKETCH_NAME_LENGTH);
  }
  List<Line> lines=parseHexStringToLines(hexString);
  byte[] bytes=convertLinesToBytes(lines);
  return new AutoParcel_SketchHex(sketchName,bytes);
}

public static SketchHex create ( String sketchName , String hexString ) throws HexParsingException { if ( sketchName . length ( ) > Constants . MAX_SKETCH_NAME_LENGTH ) { sketchName = sketchName . substring ( 0 , Constants . MAX_SKETCH_NAME_LENGTH ) ; } List < Line > lines = parseHexStringToLines ( hexString ) ; byte [ ] bytes = convertLinesToBytes ( lines ) ; return new AutoParcel_SketchHex ( sketchName , bytes ) ; }
initialize a sketchhex object with a string of intel hex data .
