Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## be.fedict.eid.applet.service.util
Class KmlLight

    java.lang.Object
      be.fedict.eid.applet.service.util.KmlLight

    public class KmlLight

extends Object

A "light" implementation of OGC standard KML 2.2 This class merely creates the KMZ zip package

Author:
  Bart Hanssens
See Also:
  `http://www.opengeospatial.org/standards/kml/`

Field Summary
`static String` | `MIME_TYPE`

Constructor Summary
`KmlLight(OutputStream outStream)` Constructor

Method Summary
`void` | `addImage(byte[] image)` Add an image (photo) to the KMZ zip
`void` | `addKmlFile(byte[] doc)` Add the KML file to the KMZ zip
`void` | `close()` Close the KMZ zip file

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### MIME_TYPE

    public static final String MIME_TYPE

See Also:
  Constant Field Values

Constructor Detail

### KmlLight

    public KmlLight(OutputStream outStream)

  Constructor

  Parameters:
    `outStream` -

Method Detail

### addImage

    public void addImage(byte[] image)
                  throws IOException

  Add an image (photo) to the KMZ zip

  Parameters:
    `image` -
  Throws:
    `IOException`

### addKmlFile

    public void addKmlFile(byte[] doc)
                    throws IOException

  Add the KML file to the KMZ zip

  Parameters:
    `doc` - KML document
  Throws:
    `IOException`

### close

    public void close()
               throws IOException

  Close the KMZ zip file

  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 FedICT. All Rights Reserved.