public class MultiFileDataParametersImpl extends AbstractRasterFileDataParameters implements MultiFileDataParameters
delegatedDynObject, DYNCLASS_NAME
PERSISTENT_DESCRIPTION, PERSISTENT_NAME
FIELD_PROVIDERS
DONT_CHANGE_PROJECTION, FIELD_CRS, FIELD_RMF_FOLDER, FIELD_URI, NEW_PROJETION_TO_THE_LAYER, NOT_LOAD, ON_THE_FLY, REPROJECT_DATA, REPROJECT_VIEW
CRS_PARAMTER_NAME
Constructor and Description |
---|
MultiFileDataParametersImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addProvider(DataStoreProvider provider)
Adds a provider to the list
|
void |
addProvider(RasterDataStore rasterDataStore)
Adds a provider to the list from a RasterDataStore
|
void |
addProviderNotTiled(DataStoreProvider provider)
Adds a provider to the list if the this is not tiled
|
java.lang.String |
getDataStoreName()
Returns the DataStore's name
|
java.lang.String |
getDescription()
Returns the DataStore's description
|
java.util.List<RasterProvider> |
getProviders()
Gets the list of providers
|
boolean |
hasProviders()
Returns true if this multifile has providers loaded
|
protected void |
initialize() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static DynStruct |
registerDynClass() |
void |
removeAllProviders()
Removes all providers
|
void |
removeProvider(java.net.URI uri)
Removes a provider from the list
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setFirstProvider(DataStoreProvider provider)
Set the selected provider in the first position
|
void |
setProviders(java.util.ArrayList<RasterProvider> provList) |
getDelegatedDynObject, getFile, isOverridingHost, setFile, setOverrideHost
assignFields, getAlphaBand, getFrame, getReprojectionOption, getRMFFolder, getSRS, getSRSID, getURI, isSourceTiled, isValid, isVisible, registerDynClass, setAlphaBand, setFrame, setReprojectionOption, setRMFFolder, setSRS, setSRSID, setURI, setVisible
getSourceId, isTheSameStore
clear, copyValuesTo, delegate, equals, fromByteArray, fromJson, getCause, getCopy, getDynClass, getDynValue, getMessage, getProviderName, hasDynValue, hashCode, implement, invokeDynMethod, invokeDynMethod, isValid, loadPRJ, loadWLD, setDynValue, toByteArray, toJson, toJsonBuilder, toString, toString, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
assignFields, getAlphaBand, getFrame, getReprojectionOption, getRMFFolder, getSRS, getSRSID, getURI, isOverridingHost, isSourceTiled, isValid, isVisible, setAlphaBand, setFrame, setOverrideHost, setReprojectionOption, setRMFFolder, setSRS, setSRSID, setURI, setVisible
getProviderName, getSourceId, isTheSameStore
clear, getCopy, toByteArray, toString, validate
clone, delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
toJson, toJson, toJsonBuilder, toJsonBuilder
fromJson
protected void initialize()
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class AbstractDataParameters
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class AbstractDataParameters
PersistenceException
public static DynStruct registerDynClass()
public void removeAllProviders()
MultiFileDataParameters
removeAllProviders
in interface MultiFileDataParameters
public boolean hasProviders()
MultiFileDataParameters
hasProviders
in interface MultiFileDataParameters
public void removeProvider(java.net.URI uri)
MultiFileDataParameters
removeProvider
in interface MultiFileDataParameters
public void addProviderNotTiled(DataStoreProvider provider)
MultiFileDataParameters
addProviderNotTiled
in interface MultiFileDataParameters
public void setFirstProvider(DataStoreProvider provider)
MultiFileDataParameters
setFirstProvider
in interface MultiFileDataParameters
public void addProvider(DataStoreProvider provider)
MultiFileDataParameters
addProvider
in interface MultiFileDataParameters
public void addProvider(RasterDataStore rasterDataStore)
MultiFileDataParameters
addProvider
in interface MultiFileDataParameters
public java.util.List<RasterProvider> getProviders()
MultiFileDataParameters
getProviders
in interface MultiFileDataParameters
public void setProviders(java.util.ArrayList<RasterProvider> provList)
public java.lang.String getDataStoreName()
DataStoreParameters
getDataStoreName
in interface DataStoreParameters
getDataStoreName
in class AbstractDataParameters
public java.lang.String getDescription()
DataStoreParameters
getDescription
in interface DataStoreParameters
getDescription
in class AbstractDataParameters