Enum OutputFormat

java.lang.Object
java.lang.Enum<OutputFormat>
org.apache.sis.console.OutputFormat
All Implemented Interfaces:
Serializable, Comparable<OutputFormat>, java.lang.constant.Constable

enum OutputFormat extends Enum<OutputFormat>
The output format specified by the user as an option.
Since:
0.8
Version:
0.8
See Also:
  • Enum Constant Details

    • TEXT

      public static final OutputFormat TEXT
      Arbitrary text, if possible similar to Well Known Text (WKT) but not necessarily.
    • WKT

      public static final OutputFormat WKT
      Well Known Text format, used for geometric objects and Coordinate Reference Systems.
    • XML

      public static final OutputFormat XML
      Standardized XML format as defined by ISO 19115-3 or by GML.
    • GPX

      public static final OutputFormat GPX
      XML format used for GPS data exchange.
  • Field Details

    • providerClass

      private final Class<? extends DataStoreProvider> providerClass
      The provider class for this format.
  • Constructor Details

    • OutputFormat

      private OutputFormat(Class<? extends DataStoreProvider> provider)
      Creates a new enumeration value.
      Parameters:
      provider - The provider class for this format.
  • Method Details

    • values

      public static OutputFormat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static OutputFormat valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • provider

      final DataStoreProvider provider() throws InvalidOptionException
      Returns the data store provider, or null if none.
      Throws:
      InvalidOptionException