public interface LocalResourcesSelector
LocalResourcesSelector
builds and selects a list of
LocalResourcesSelector.Entry
s having information about a path and
a LocalResourceType
of that path.
This interface is supposed to ease a configuration is cases where it is too difficult to hard code possible values or of the logic how these values are chosen needs to be able to altered.
Interface itself doesn't care how entries are selected, thus implementation may choose to work in a static way or actually checking something from a file system.
Modifier and Type | Interface and Description |
---|---|
static class |
LocalResourcesSelector.Entry
Entrys used by this interface.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<LocalResourcesSelector.Entry> |
select(java.lang.String dir)
Select a
List of LocalResourcesSelector.Entry s. |
java.util.List<LocalResourcesSelector.Entry> select(java.lang.String dir)
dir
- the base directory