net.divbyzero.gpx.parser
Class JDOM

java.lang.Object
  extended by net.divbyzero.gpx.parser.JDOM
All Implemented Interfaces:
Parser

public class JDOM
extends Object
implements Parser

GPX parser based on the JDOM XML parsing toolkit

Since:
0.1
Author:
Martin Jansen
See Also:
JDOM

Constructor Summary
JDOM()
           
 
Method Summary
 GPX parse(File file)
          Parses a GPX file and returns the resulting GPX track collection
 GPX parse(URL url)
          Parses a GPX URL and returns the resulting GPX track collection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOM

public JDOM()
Method Detail

parse

public GPX parse(File file)
          throws ParsingException
Description copied from interface: Parser
Parses a GPX file and returns the resulting GPX track collection

Specified by:
parse in interface Parser
Parameters:
file - the file to be parsed
Returns:
the resulting track collection
Throws:
ParsingException

parse

public GPX parse(URL url)
          throws ParsingException
Description copied from interface: Parser
Parses a GPX URL and returns the resulting GPX track collection

Specified by:
parse in interface Parser
Parameters:
url - the URL to be parsed
Returns:
the resulting track collection
Throws:
ParsingException


Processing library MapThing by Jon Reades. (C) 2013