Package net.sf.myway.gps.garmin.mapping.converters

Examples of net.sf.myway.gps.garmin.mapping.converters.Converter.convert()


        LOG.error("no converter for " + fieldType);
        continue;
      }
      if (fieldData != null)
        pos =
          conv.convert(buffer, pos, fieldData,
            fieldLength == null ? 0 : Integer.parseInt(fieldLength));
    }
    return sizeVal == null ? pos : offset + Integer.parseInt(sizeVal);
  }
View Full Code Here


      if (conv == null) {
        LOG.error("no converter for " + fieldType);
        continue;
      }
      final Object fieldData =
        conv.convert(data, pos, fieldLength == null ? 0 : Integer.parseInt(fieldLength),
          ppos);
      pos = ppos.getIndex();
      if (fieldData != null && fieldName != null)
        setFieldData(obj, fieldData, fieldName);
      LOG.debug(fieldName + " -> " + fieldData);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.