public class SHPStoreParameters extends DBFStoreParameters
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETERS_DEFINITION_NAME |
ALLOW_DUPLICATED_FIELD_NAMES, DATE_FORMAT, DBFFILE_PARAMTER_NAME, ENCODING_PARAMTER_NAME, HANDLE_DATES_AS_STRINGS, LOCALE
Constructor and Description |
---|
SHPStoreParameters() |
SHPStoreParameters(String parametersDefinitionName) |
Modifier and Type | Method and Description |
---|---|
void |
fixParameters() |
boolean |
getAllowInconsistenciesInGeometryType() |
IProjection |
getCRS() |
File |
getFile() |
boolean |
getFixLinearRings() |
boolean |
getLoadCorruptGeometriesAsNull() |
File |
getSHPFile() |
String |
getSHPFileName() |
File |
getSHXFile() |
String |
getSHXFileName() |
boolean |
getUseNullGeometry() |
boolean |
isValid()
Indicates whether these parameters are valid.
|
void |
setCRS(IProjection srs) |
void |
setCRS(String srs) |
void |
setFile(File file) |
void |
setFile(String fileName) |
void |
setSHPFile(File file) |
void |
setSHPFile(String fileName) |
void |
setSHXFile(File file) |
void |
setSHXFile(String fileName) |
void |
validate()
Checks its valid
|
allowDuplicatedFieldNames, getDataStoreName, getDateFormat, getDBFFile, getDBFFileName, getDelegatedDynObject, getDescription, getEncoding, getEncodingName, getLocale, handleDatesAsStrings, setDBFFile, setDBFFile, setEncoding, setEncoding
clear, copyValuesTo, delegate, getCopy, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, loadFromState, saveToState, setDynValue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, getCopy
loadFromState, saveToState
delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
public static final String PARAMETERS_DEFINITION_NAME
public SHPStoreParameters()
public SHPStoreParameters(String parametersDefinitionName)
public void validate() throws ValidateDataParametersException
DataParameters
validate
in interface DataParameters
validate
in class DBFStoreParameters
ValidateDataParametersException
- if any problem was detectedpublic void fixParameters()
public boolean isValid()
DataStoreParameters
isValid
in interface DataStoreParameters
isValid
in class DBFStoreParameters
public File getFile()
getFile
in interface FilesystemStoreParameters
getFile
in class DBFStoreParameters
public void setFile(File file)
setFile
in interface FilesystemStoreParameters
setFile
in class DBFStoreParameters
public void setFile(String fileName)
setFile
in class DBFStoreParameters
public String getSHPFileName()
public File getSHPFile()
public void setSHPFile(File file)
public void setSHPFile(String fileName)
public String getSHXFileName()
public File getSHXFile()
public void setSHXFile(File file)
public void setSHXFile(String fileName)
public void setCRS(IProjection srs)
public void setCRS(String srs)
public IProjection getCRS()
public boolean getUseNullGeometry()
public boolean getAllowInconsistenciesInGeometryType()
public boolean getLoadCorruptGeometriesAsNull()
public boolean getFixLinearRings()