Package slash.navigation.nmn

Examples of slash.navigation.nmn.NavigatingPoiWarnerFormat


        return !isEmpty(result) ? result : null;
    }

    @SuppressWarnings("unchecked")
    private BaseRoute parseRoute(List<String> coordinates, NavigationPosition before, NavigationPosition after) {
        BaseRoute route = new NavigatingPoiWarnerFormat().createRoute(Waypoints, null, new ArrayList<NavigationPosition>());
        // count backwards as inserting at position 0
        CompactCalendar time = after.getTime();
        int positionInsertionCount = coordinates.size() / 5;
        for (int i = coordinates.size() - 1; i > 0; i -= 5) {
            String instructions = trim(coordinates.get(i));
View Full Code Here


    @Test
    public void testConvertNokiaLandmarkExchangeUtf8ToNavigatingPoiWarnerIso88591Fails() throws IOException {
        // source is UTF8 while target is only ISO8859-1
        assertTestFails(new NavigationTestCaseThrowsException() {
            public void run() throws Exception {
                convertRoundtrip(TEST_PATH + "from.lmx", new NokiaLandmarkExchangeFormat(), new NavigatingPoiWarnerFormat());
            }
        });
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from-ozi.rte", new OziExplorerRouteFormat(), new OvlFormat());
    }

    @Test
    public void testConvertOziExplorerWaypointToNavigatingPoiWarner() throws IOException {
        convertRoundtrip(TEST_PATH + "from-ozi.wpt", new OziExplorerWaypointFormat(), new NavigatingPoiWarnerFormat());
    }
View Full Code Here

TOP

Related Classes of slash.navigation.nmn.NavigatingPoiWarnerFormat

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.