public enum DataSource extends Enum<DataSource>
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isGeoTIFF(DataSource dataSource) |
static boolean |
isGeoTIFF(Layer layer) |
static boolean |
isPostGIS(DataSource dataSource) |
static boolean |
isPostGIS(Layer layer) |
static boolean |
isRaster(DataSource dataSource) |
static boolean |
isVector(DataSource dataSource) |
String |
toString() |
static DataSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSource PostGIS
public static final DataSource GeoTIFF
public static DataSource[] values()
for (DataSource c : DataSource.values()) System.out.println(c);
public static DataSource valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<DataSource>public static boolean isPostGIS(Layer layer)
public static boolean isGeoTIFF(Layer layer)
public static boolean isPostGIS(DataSource dataSource)
public static boolean isGeoTIFF(DataSource dataSource)
public static boolean isVector(DataSource dataSource)
public static boolean isRaster(DataSource dataSource)
Copyright © 2017. All Rights Reserved.