Package com.gads.model

Examples of com.gads.model.GeoRoute


        Document doc = parser.getDocument(from, to);
        ArrayList<GeoStep> steps = parser.getDirection(doc);
        String duration = parser.getDurationText(doc);
        String distance = parser.getDistanceText(doc);
       
        GeoRoute route = new GeoRoute(from,to,steps,distance,duration);
        boolean res = db.insert(route,routes.size());
       
        if(res)
          routes.add(route);
        else throw new ExistingRouteException();
View Full Code Here

TOP

Related Classes of com.gads.model.GeoRoute

Copyright © 2018 www.massapicom. 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.