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
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
|
String |
getDataStoreName()
Returns the DataStore's name
|
String |
getDescription()
Returns the DataStore's description
|
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(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(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
clear, copyValuesTo, delegate, getCopy, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue, toString, validate
clone, equals, finalize, getClass, hashCode, 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
clear, getCopy, validate
delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
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(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 List<RasterProvider> getProviders()
MultiFileDataParameters
getProviders
in interface MultiFileDataParameters
public void setProviders(ArrayList<RasterProvider> provList)
public String getDataStoreName()
DataStoreParameters
getDataStoreName
in interface DataStoreParameters
public String getDescription()
DataStoreParameters
getDescription
in interface DataStoreParameters