Package org.geotools.coverage.io
Enum CoverageCapabilities
- Object
-
- Enum<CoverageCapabilities>
-
- CoverageCapabilities
-
- All Implemented Interfaces:
Serializable
,Comparable<CoverageCapabilities>
public enum CoverageCapabilities extends Enum<CoverageCapabilities>
Describes the capabilities of thisCoverageSource
- Author:
- Simone Giannecchini, GeoSolutions SAS
-
-
Enum Constant Summary
Enum Constants Enum Constant Description READ_HORIZONTAL_DOMAIN_SUBSAMBLING
READ_RANGE_SUBSETTING
READ_REPROJECTION
READ_SUBSAMPLING
WRITE_HORIZONTAL_DOMAIN_SUBSAMBLING
WRITE_RANGE_SUBSETTING
WRITE_SUBSAMPLING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSupported(CoverageAccess.AccessType type)
Check if this capability is permissible for the provided access type.static CoverageCapabilities
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoverageCapabilities[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_SUBSAMPLING
public static final CoverageCapabilities READ_SUBSAMPLING
-
READ_RANGE_SUBSETTING
public static final CoverageCapabilities READ_RANGE_SUBSETTING
-
READ_HORIZONTAL_DOMAIN_SUBSAMBLING
public static final CoverageCapabilities READ_HORIZONTAL_DOMAIN_SUBSAMBLING
-
READ_REPROJECTION
public static final CoverageCapabilities READ_REPROJECTION
-
WRITE_HORIZONTAL_DOMAIN_SUBSAMBLING
public static final CoverageCapabilities WRITE_HORIZONTAL_DOMAIN_SUBSAMBLING
-
WRITE_RANGE_SUBSETTING
public static final CoverageCapabilities WRITE_RANGE_SUBSETTING
-
WRITE_SUBSAMPLING
public static final CoverageCapabilities WRITE_SUBSAMPLING
-
-
Method Detail
-
values
public static CoverageCapabilities[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CoverageCapabilities c : CoverageCapabilities.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoverageCapabilities 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 nameNullPointerException
- if the argument is null
-
isSupported
public boolean isSupported(CoverageAccess.AccessType type)
Check if this capability is permissible for the provided access type.- Returns:
- true if capability is permissible
-
-