public class DBFStoreParameters extends AbstractDataParameters implements OpenDataStoreParameters, FilesystemStoreParameters
Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_DUPLICATED_FIELD_NAMES |
static String |
DATE_FORMAT |
static String |
DBFFILE_PARAMTER_NAME |
static String |
ENCODING_PARAMTER_NAME |
static String |
HANDLE_DATES_AS_STRINGS |
static String |
LOCALE |
static String |
PARAMETERS_DEFINITION_NAME |
Modifier | Constructor and Description |
---|---|
|
DBFStoreParameters() |
protected |
DBFStoreParameters(String parametersDefinitionName) |
|
DBFStoreParameters(String parametersDefinitionName,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowDuplicatedFieldNames() |
String |
getDataStoreName()
Returns the DataStore's name
|
String |
getDateFormat() |
File |
getDBFFile() |
String |
getDBFFileName() |
protected DelegatedDynObject |
getDelegatedDynObject()
Returns an instance of the
DynObject to delegate to. |
String |
getDescription()
Returns the DataStore's description
|
Charset |
getEncoding() |
String |
getEncodingName() |
File |
getFile() |
Locale |
getLocale() |
boolean |
handleDatesAsStrings() |
boolean |
isValid()
Indicates whether these parameters are valid.
|
void |
setDBFFile(File file) |
void |
setDBFFile(String fileName) |
void |
setEncoding(Charset charset) |
void |
setEncoding(String encoding) |
void |
setFile(File file) |
void |
setFile(String fileName) |
void |
validate()
Checks its valid
|
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 static final String DBFFILE_PARAMTER_NAME
public static final String ENCODING_PARAMTER_NAME
public static final String HANDLE_DATES_AS_STRINGS
public static final String DATE_FORMAT
public static final String LOCALE
public static final String ALLOW_DUPLICATED_FIELD_NAMES
public DBFStoreParameters()
protected DBFStoreParameters(String parametersDefinitionName)
public String getDataStoreName()
DataStoreParameters
getDataStoreName
in interface DataStoreParameters
public String getDescription()
DataStoreParameters
getDescription
in interface DataStoreParameters
public boolean isValid()
DataStoreParameters
isValid
in interface DataStoreParameters
public File getFile()
getFile
in interface FilesystemStoreParameters
public void setFile(File file)
setFile
in interface FilesystemStoreParameters
public void setFile(String fileName)
public String getDBFFileName()
public File getDBFFile()
public void setDBFFile(File file)
public void setDBFFile(String fileName)
public String getEncodingName()
public Charset getEncoding()
public void setEncoding(String encoding)
public boolean handleDatesAsStrings()
public boolean allowDuplicatedFieldNames()
public void setEncoding(Charset charset)
protected DelegatedDynObject getDelegatedDynObject()
AbstractDataParameters
DynObject
to delegate to.getDelegatedDynObject
in class AbstractDataParameters
DynObject
public Locale getLocale()
public String getDateFormat()
public void validate() throws ValidateDataParametersException
DataParameters
validate
in interface DataParameters
validate
in class AbstractDataParameters
ValidateDataParametersException
- if any problem was detected