|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.ogc.KmlUtil
public class KmlUtil
KML/KMZ utility class.
| Constructor Summary | |
|---|---|
KmlUtil()
|
|
| Method Summary | |
|---|---|
static InputStream |
convertToFeaturesStream(InputStream kmlInputStream)
Deprecated. since 10.0; use convertToFeaturesStream(java.io.InputStream, java.lang.String) instead. |
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 failed
public static InputStream extractKmlStream(InputStream kmzInputStream)
throws IOException
kmzInputStream - KMZ stream
IOException - extracting KML stream fails
public 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
@Deprecated
public static InputStream convertToFeaturesStream(InputStream kmlInputStream)
throws IOException
convertToFeaturesStream(java.io.InputStream, java.lang.String) instead.
kmlInputStream - KML input stream
IOException - if convertiong stream fails
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||