Package net.sf.myway.gps.garmin.parser

Examples of net.sf.myway.gps.garmin.parser.DataType.generateData()


  public TypedData[] transform(final Object data) {
    final DataType dt = _seq.getDataType(DataTypeName.WPT_DATA);
    final Waypoint[] wpt = (Waypoint[]) data;
    final TypedData gd[] = new TypedData[wpt.length];
    for (int i = 0; i < wpt.length; i++)
      gd[i] = new TypedData(DataTypeName.WPT_DATA, dt.generateData(wpt[i]));
    return gd;
  }
}
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.