Class KmzInputTransformer

java.lang.Object
org.codice.ddf.spatial.kml.transformer.KmzInputTransformer
All Implemented Interfaces:
ddf.catalog.transform.InputTransformer

public class KmzInputTransformer extends Object implements ddf.catalog.transform.InputTransformer
This class handles .kmz files by unzipping them and passing the first .kml file to the KmlInputTransformer. All other files within the .kmz are ignored.
  • Field Details

  • Constructor Details

  • Method Details

    • transform

      public ddf.catalog.data.Metacard transform(InputStream inputStream) throws IOException, ddf.catalog.transform.CatalogTransformerException
      Specified by:
      transform in interface ddf.catalog.transform.InputTransformer
      Throws:
      IOException
      ddf.catalog.transform.CatalogTransformerException
    • transform

      public ddf.catalog.data.Metacard transform(InputStream inputStream, String id) throws IOException, ddf.catalog.transform.CatalogTransformerException
      Specified by:
      transform in interface ddf.catalog.transform.InputTransformer
      Throws:
      IOException
      ddf.catalog.transform.CatalogTransformerException