|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.util.KmlUtil
public class KmlUtil
KML/KMZ utility class.
Constructor Summary | |
---|---|
KmlUtil()
|
Method Summary | |
---|---|
static InputStream |
convertToFeaturesStream(InputStream kmlInputStream,
String rootUrl)
Drills-down KML stream for "Placemark" and follows "NetworkLink". |
static InputStream |
extractKmlStream(InputStream kmzInputStream)
Gets KML input stream from KMZ stream. |
static InputStream |
openKmlStream(String url)
Creates a stream from the URL possibly referencing KML/KMZ. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KmlUtil()
Method Detail |
---|
public static InputStream openKmlStream(String url) throws IOException
url
- KML/KMZ url
IOException
- if creating stream failedpublic static InputStream extractKmlStream(InputStream kmzInputStream) throws IOException
kmzInputStream
- KMZ stream
IOException
- extracting KML stream failspublic static InputStream convertToFeaturesStream(InputStream kmlInputStream, String rootUrl) throws IOException
kmlInputStream
- KML input streamrootUrl
- root URL used when KML contains relative URL
IOException
- if convertiong stream fails
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |