public class FileLocatorFactory extends java.lang.Object implements ILocatorFactory
FileLocator
objects.
FileLocator
instances are created either using an absolute path name
or are looked up relative to the factorys search path. Multiple search paths
may be defined.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PATH_SEPARATOR
The separator character for the definition of multiple search paths
|
Constructor and Description |
---|
FileLocatorFactory()
Create a new factory.
|
Modifier and Type | Method and Description |
---|---|
ILocator |
createLocator(java.lang.String path)
The file locator factory supports looking up resources in multiple paths.
|
java.lang.String |
getSearchPathDefinition() |
java.util.List |
getSearchPaths() |
boolean |
isSynchSynchronous() |
void |
setSearchPathDefinition(java.lang.String searchPath) |
void |
setSearchPaths(java.util.List searchPaths) |
void |
setSynchSynchronous(boolean synchSynchronous) |
public static final java.lang.String PATH_SEPARATOR
public ILocator createLocator(java.lang.String path)
createLocator
in interface ILocatorFactory
path
- The fully qualified location definition.location
.ILocatorFactory.createLocator(java.lang.String)
public java.lang.String getSearchPathDefinition()
public java.util.List getSearchPaths()
public boolean isSynchSynchronous()
public void setSearchPathDefinition(java.lang.String searchPath)
public void setSearchPaths(java.util.List searchPaths)
public void setSynchSynchronous(boolean synchSynchronous)