Class FormatterFactory

java.lang.Object
org.opensextant.output.FormatterFactory

public class FormatterFactory extends Object
Author:
Marc C. Ubaldino, MITRE, ubaldino at mitre dot org
  • Field Details

    • PKG

      public static String PKG
  • Constructor Details

    • FormatterFactory

      public FormatterFactory()
  • Method Details

    • isSupported

      public static boolean isSupported(String fmt)
      Check if this is a known format
    • getSupportedFormats

      public static String[] getSupportedFormats()
    • getInstance

      public static ResultsFormatter getInstance(String fmt) throws ProcessingException
      Supported formats are CSV, WKT, HTML, KML, Shapefile, GDB, JSON
      Parameters:
      fmt - format name
      Returns:
      Implentation of ResultsFormatter
      Throws:
      ProcessingException - if Java class for formatter is not found