Interface IEntityExporter

All Superinterfaces:
IJOptExporter<IEntityContainer>, Serializable
All Known Implementing Classes:
EntityContainerExporter, EntityKMLExporter, EntityTextExporter

public interface IEntityExporter extends Serializable, IJOptExporter<IEntityContainer>
This interface provides methods to export an IEntity in an IEntityContainer and to set the title.
Since:
25/07/2019
Version:
04/10/2019
Author:
DNA
  • Method Details

    • export

      boolean export(IEntityContainer enc, OutputStream fos)
      Exports the IEntityContainer in the output stream.
      Specified by:
      export in interface IJOptExporter<IEntityContainer>
      Parameters:
      enc - the iEntitycontainer to be exported
      fos - the fileoutputstream
      Returns:
      true if the export was successful
    • setTitle

      void setTitle(String exportTitle)
      Sets the input as the EntityKMLExporter.exportTitle.
      Parameters:
      exportTitle - the export title