Geographic Reader capable of reading KML files. This class loads the KML
file, and translates the data into geographic components. It ignores
folders, screen overlays, or elements without geographic content. The reader
does transform the style elements, which are used to define renderStyles on
the geographic shapes that are created.
Author: Edward Swing
Constructor and Description
(java.net.URL kmlUrl) KmlReader
Instantiates a new KML reader, reading from the specified URL.
Modifier and Type
Method and Description
Get the name associated with this reader.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public KmlReader(java.net.URL kmlUrl)
Instantiates a new KML reader, reading from the specified URL. The URL
can reference a local file or a file on an accessible web server.
kmlUrl - the URL of the KML file.
public java.lang.String getName()
Get the name associated with this reader. For the KML reader, this
returns the String indicating the file the reader is reading.
getName GeoReader Returns: the name associated with this reader