|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.divbyzero.gpx.GPX
public class GPX
GPX track collection
A track collection is used to encapsulate the arbitrary number of tracks that can be contained in a single GPX file.
Constructor Summary | |
---|---|
GPX()
|
Method Summary | |
---|---|
void |
addRoute(Track track)
Adds a track to the collection. |
void |
addTrack(Track track)
Adds a track to the collection. |
ArrayList<Track> |
getRoutes()
Returns the list of track that make up the collection. |
ArrayList<Track> |
getTracks()
Returns the list of track that make up the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GPX()
Method Detail |
---|
public void addTrack(Track track)
The track is added to the end of the collection. If it already existed in the collection before, it is added again.
track
- the track to be addedpublic ArrayList<Track> getTracks()
public void addRoute(Track track)
The track is added to the end of the collection. If it already existed in the collection before, it is added again.
track
- the track to be addedpublic ArrayList<Track> getRoutes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |