|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.formats.kml.KmlBuilder
public class KmlBuilder
Builder for generating Kml documents. Stores all objects to add to Kml document. Document isn't generated until generateKml is called.
Kml documentation can be found at http://code.google.com/apis/kml/ Made for Kml version 2.2
Copyright 2008 Partner Software
| Constructor Summary | |
|---|---|
KmlBuilder()
Creates a new KmlBuilder. |
|
| Method Summary | |
|---|---|
void |
addObject(KmlObject object)
Stores a KmlObject to be written into a Kml file. |
void |
clear()
Erases all objects currently stored. |
java.lang.String |
generateKml()
Generates a complete Kml document based on stored Kml objects. |
void |
generateKml(VfsFile file)
Generates a complete Kml document based on stored Kml objects. |
void |
generateKml(java.io.Writer writer)
Generates a complete Kml document based on stored Kml objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KmlBuilder()
| Method Detail |
|---|
public void addObject(KmlObject object)
public void clear()
public void generateKml(VfsFile file)
throws java.io.IOException
file - - VfsFile to pump kml into.
java.io.IOException - - thrown if some IO problem happens.
public void generateKml(java.io.Writer writer)
throws java.io.IOException
writer - - Writer to pump Kml into.
java.io.IOException
public java.lang.String generateKml()
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||