Package org.gvsig.fmap.dal.store.dbf
Class DBFStoreParameters
java.lang.Object
org.gvsig.fmap.dal.spi.AbstractDataParameters
org.gvsig.fmap.dal.spi.AbstractDataStoreParameters
org.gvsig.fmap.dal.store.dbf.DBFStoreParameters
- All Implemented Interfaces:
org.gvsig.fmap.dal.DataParameters,org.gvsig.fmap.dal.DataStoreParameters,org.gvsig.fmap.dal.feature.OpenFeatureStoreParameters,org.gvsig.fmap.dal.OpenDataStoreParameters,org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemStoreParameters,org.gvsig.json.SupportFromJson,org.gvsig.json.SupportToJson,org.gvsig.tools.dynobject.DynObject,org.gvsig.tools.persistence.Persistent,org.gvsig.tools.util.HasAFile,org.gvsig.tools.util.Validator
- Direct Known Subclasses:
DBFNewStoreParameters
public class DBFStoreParameters
extends org.gvsig.fmap.dal.spi.AbstractDataStoreParameters
implements org.gvsig.fmap.dal.feature.OpenFeatureStoreParameters, org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemStoreParameters
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.gvsig.fmap.dal.DataParameters
CRS_PARAMTER_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDBFStoreParameters(String parametersDefinitionName) DBFStoreParameters(String parametersDefinitionName, String name) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanorg.gvsig.fmap.dal.DataParametersgetCopy()protected org.gvsig.tools.dynobject.DelegatedDynObjectgetDynValue(String name) The encoding actually used to read/write the dbfThe encoding actually used to read/write the dbfgetFile()booleanbooleanisTheSameExplorer(org.gvsig.fmap.dal.DataStoreParameters parameters) booleanisValid()voidsetDBFFile(File file) voidsetDBFFile(String fileName) voidsetEffectiveEncoding(String encoding) The encoding actually used to read/write the dbfvoidsetEffectiveEncoding(Charset charset) The encoding actually used to read/write the dbfvoidsetEncoding(String encoding) voidsetEncoding(Charset charset) voidvoidvoidvalidate()Methods inherited from class org.gvsig.fmap.dal.spi.AbstractDataStoreParameters
getSourceId, isTheSameStoreMethods inherited from class org.gvsig.fmap.dal.spi.AbstractDataParameters
clear, copyValuesTo, delegate, equals, fromByteArray, fromJson, getCause, getDynClass, getMessage, getProviderName, hasDynValue, hashCode, implement, invokeDynMethod, invokeDynMethod, isValid, loadFromState, loadPRJ, loadWLD, saveToState, setDynValue, toByteArray, toJson, toJsonBuilder, toString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.fmap.dal.DataParameters
clear, toByteArray, toStringMethods inherited from interface org.gvsig.fmap.dal.DataStoreParameters
getProviderName, getSourceId, isTheSameStoreMethods inherited from interface org.gvsig.tools.dynobject.DynObject
delegate, getDynClass, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValueMethods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToStateMethods inherited from interface org.gvsig.json.SupportFromJson
fromJsonMethods inherited from interface org.gvsig.json.SupportToJson
toJson, toJson, toJsonBuilder, toJsonBuilder
-
Field Details
-
PARAMETERS_DEFINITION_NAME
- See Also:
-
DBFFILE_PARAMTER_NAME
- See Also:
-
ENCODING_PARAMTER_NAME
- See Also:
-
HANDLE_DATES_AS_STRINGS
- See Also:
-
DATE_FORMAT
- See Also:
-
LOCALE
- See Also:
-
ALLOW_DECIMAL_INCONSISTENCIES_PARAMTER_NAME
- See Also:
-
ALLOW_DUPLICATED_FIELD_NAMES
- See Also:
-
-
Constructor Details
-
DBFStoreParameters
public DBFStoreParameters() -
DBFStoreParameters
-
DBFStoreParameters
-
-
Method Details
-
getDataStoreName
- Specified by:
getDataStoreNamein interfaceorg.gvsig.fmap.dal.DataStoreParameters- Overrides:
getDataStoreNamein classorg.gvsig.fmap.dal.spi.AbstractDataParameters
-
getDescription
- Specified by:
getDescriptionin interfaceorg.gvsig.fmap.dal.DataStoreParameters- Overrides:
getDescriptionin classorg.gvsig.fmap.dal.spi.AbstractDataParameters
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceorg.gvsig.fmap.dal.DataStoreParameters
-
getFile
- Specified by:
getFilein interfaceorg.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemStoreParameters- Specified by:
getFilein interfaceorg.gvsig.tools.util.HasAFile
-
setFile
- Specified by:
setFilein interfaceorg.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemStoreParameters- Specified by:
setFilein interfaceorg.gvsig.tools.util.HasAFile
-
setFile
-
getDBFFileName
-
getDBFFile
-
setDBFFile
-
setDBFFile
-
getCPGFileName
-
getCPGFile
-
getEncodingName
-
getEncoding
-
getEffectiveEncodingName
The encoding actually used to read/write the dbf -
getEffectiveEncoding
The encoding actually used to read/write the dbf -
setEncoding
-
setEffectiveEncoding
The encoding actually used to read/write the dbf -
handleDatesAsStrings
public boolean handleDatesAsStrings() -
allowDuplicatedFieldNames
public boolean allowDuplicatedFieldNames() -
setEncoding
-
setEffectiveEncoding
The encoding actually used to read/write the dbf -
getCopy
public org.gvsig.fmap.dal.DataParameters getCopy()- Specified by:
getCopyin interfaceorg.gvsig.fmap.dal.DataParameters- Overrides:
getCopyin classorg.gvsig.fmap.dal.spi.AbstractDataParameters
-
getDelegatedDynObject
protected org.gvsig.tools.dynobject.DelegatedDynObject getDelegatedDynObject()- Specified by:
getDelegatedDynObjectin classorg.gvsig.fmap.dal.spi.AbstractDataParameters
-
getLocale
-
getDateFormat
-
validate
public void validate() throws org.gvsig.fmap.dal.exception.ValidateDataParametersException- Specified by:
validatein interfaceorg.gvsig.fmap.dal.DataParameters- Overrides:
validatein classorg.gvsig.fmap.dal.spi.AbstractDataParameters- Throws:
org.gvsig.fmap.dal.exception.ValidateDataParametersException
-
allowInconsistenciesInDecimals
public boolean allowInconsistenciesInDecimals() -
isTheSameExplorer
public boolean isTheSameExplorer(org.gvsig.fmap.dal.DataStoreParameters parameters) - Specified by:
isTheSameExplorerin interfaceorg.gvsig.fmap.dal.DataStoreParameters- Overrides:
isTheSameExplorerin classorg.gvsig.fmap.dal.spi.AbstractDataStoreParameters
-
getDynValue
- Specified by:
getDynValuein interfaceorg.gvsig.tools.dynobject.DynObject- Overrides:
getDynValuein classorg.gvsig.fmap.dal.spi.AbstractDataParameters
-