public interface IParametersProvider
| Modifier and Type | Method and Description |
|---|---|
IParameters |
createParameters(String location)
Gets the default parameters for a given provider.
|
boolean |
deleteParameters(String location)
Deletes a parameters object at a given location.
|
String[] |
getParametersList()
Gets the list of available sets of parameters (for example, the list
of all filter settings).
|
IParameters |
load(String location)
Loads a parameters object from a given location.
|
void |
save(String location,
IParameters paramsObject)
Saves a parameters object to a given location.
|
String[] |
splitLocation(String location)
Split a given location into its components.
|
IParameters load(String location) throws Exception
location - the string that encodes the source location. The value depends
on each implementation. It can be a path, a filter setting string, etc.Exception - if we encounter any problem loading the parameters.IParameters createParameters(String location) throws Exception
location - the string that encodes the source location. The value depends
on each implementation. It can be a path, a filter setting string, etc.Exception - if we encounter any problem creating the parameters.void save(String location, IParameters paramsObject) throws Exception
location - the string that encodes the target location. The value depends
on each implementation. It can be a path, a filter setting string, etc.paramsObject - the parameters object to save.Exception - if we encounter any problem saving the parameters.boolean deleteParameters(String location)
location - the string that encodes the target location. The value depends
on each implementation. It can be a path, a filter setting string, etc.String[] splitLocation(String location)
location - the string that encodes the location. The value depends
on each implementation. It can be a path, a filter setting string, etc.String[] getParametersList()
Copyright © 2021. All rights reserved.