Package org.opensextant.output
Class FormatterFactory
- java.lang.Object
-
- org.opensextant.output.FormatterFactory
-
public class FormatterFactory extends java.lang.Object
- Author:
- Marc C. Ubaldino, MITRE, ubaldino at mitre dot org
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PKG
-
Constructor Summary
Constructors Constructor Description FormatterFactory()
-
Method Summary
Modifier and Type Method Description static ResultsFormatter
getInstance(java.lang.String fmt)
Supported formats are CSV, WKT, HTML, KML, Shapefile, GDB, JSONstatic java.lang.String[]
getSupportedFormats()
static boolean
isSupported(java.lang.String fmt)
Check if this is a known format
-
-
-
Method Detail
-
isSupported
public static boolean isSupported(java.lang.String fmt)
Check if this is a known format
-
getSupportedFormats
public static java.lang.String[] getSupportedFormats()
-
getInstance
public static ResultsFormatter getInstance(java.lang.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
-
-