public class DBFStoreParameters extends AbstractDataParameters implements OpenFeatureStoreParameters, 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() |
DataParameters |
getCopy()
Creates and returns a new copy of this DataParameters.
|
File |
getCPGFile() |
String |
getCPGFileName() |
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 |
getEffectiveEncoding()
The encoding actually used to read/write the dbf
|
String |
getEffectiveEncodingName()
The encoding actually used to read/write the dbf
|
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 |
setEffectiveEncoding(Charset charset)
The encoding actually used to read/write the dbf
|
void |
setEffectiveEncoding(String encoding)
The encoding actually used to read/write the dbf
|
void |
setEncoding(Charset charset) |
void |
setEncoding(String encoding) |
void |
setFile(File file) |
void |
setFile(String fileName) |
void |
validate()
Checks its valid
|
clear, copyValuesTo, delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, loadFromState, saveToState, setDynValue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear
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
getDataStoreName
in class AbstractDataParameters
public String getDescription()
DataStoreParameters
getDescription
in interface DataStoreParameters
getDescription
in class AbstractDataParameters
public boolean isValid()
DataStoreParameters
isValid
in interface DataStoreParameters
public File getFile()
getFile
in interface FilesystemStoreParameters
getFile
in interface HasAFile
public void setFile(File file)
setFile
in interface FilesystemStoreParameters
setFile
in interface HasAFile
public void setFile(String fileName)
public String getDBFFileName()
public File getDBFFile()
public void setDBFFile(File file)
public void setDBFFile(String fileName)
public String getCPGFileName()
public File getCPGFile()
public String getEncodingName()
public Charset getEncoding()
public String getEffectiveEncodingName()
encoding
- public Charset getEffectiveEncoding()
encoding
- public void setEncoding(String encoding)
public void setEffectiveEncoding(String encoding)
encoding
- public boolean handleDatesAsStrings()
public boolean allowDuplicatedFieldNames()
public void setEncoding(Charset charset)
public void setEffectiveEncoding(Charset charset)
encoding
- public DataParameters getCopy()
DataParameters
getCopy
in interface DataParameters
getCopy
in class AbstractDataParameters
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