org.geotools.data.shapefile.indexed
Enum IndexType
Object
Enum<IndexType>
IndexType
- All Implemented Interfaces:
- Serializable, Comparable<IndexType>
public enum IndexType
- extends Enum<IndexType>
Enumerates the different types of Shapefile geometry indices there are.
- Author:
- jesse
Enum Constant Summary |
NONE
Don't use indexing |
QIX
The same index as mapserver. |
Method Summary |
static IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
NONE
public static final IndexType NONE
- Don't use indexing
QIX
public static final IndexType QIX
- The same index as mapserver. Its the most reliable and is the default
shpFileType
public final ShpFileType shpFileType
values
public static final IndexType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(IndexType c : IndexType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static IndexType 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
Copyright © 1996-2009 Geotools. All Rights Reserved.