Package net.sourceforge.gpstools.utils

Examples of net.sourceforge.gpstools.utils.GpxReader


        final InputStream bin = (in instanceof BufferedInputStream) ? in
                : new BufferedInputStream(in);
        // Does not have the desired effect.
        DateFieldHandler.setDefaultTimeZone(UTC);
        try {
            GpxReader reader = new GpxReader();
            reader.parse(new InputSource(bin));
            gpx = reader.getGpx();
        } catch (Exception ex) {
            IOException ioex = new IOException(
                    "Error parsing GPX. Make sure that the input is in GPX 1.1 format.");
            ioex.initCause(ex);
            throw ioex;
View Full Code Here

TOP

Related Classes of net.sourceforge.gpstools.utils.GpxReader

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.