Examples of NikeConverter


Examples of com.pc.dailymile.cli.nikeplus.NikeConverter

    String converter = getUserInput("Please enter the converison type, allowed types: [nikeplus, runningahead, runkeeper]");
   
    String inputFilePath = getUserInput("Please enter full path to input file:");
   
    if (converter.equalsIgnoreCase("nikeplus")) {
      NikeConverter nike = new NikeConverter(inputFilePath);
      long total = nike.doConversion(dmc);
      System.out.println("Converted " + total + " runs");
    } else if (converter.equalsIgnoreCase("runningahead")) {
            RunningAheadConverter runningAhead = new RunningAheadConverter(inputFilePath);
            long total = runningAhead.doConversion(dmc);
            System.out.println("Converted " + total + " runs");
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.