| Package | Description |
|---|---|
| de.intarsys.tools.factory | |
| de.intarsys.tools.functor | |
| de.intarsys.tools.locator | |
| de.intarsys.tools.locator.trusted |
| Modifier and Type | Method and Description |
|---|---|
ILocatorFactory |
CommonFactory.getLocatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ILocator |
ArgTools.getLocator(IArgs args,
String name,
ILocator defaultValue,
ILocatorFactory factory)
The argument value at
name as a ILocator. |
static List<ILocator> |
ArgTools.getLocators(IArgs args,
String name,
ILocatorFactory factory)
The argument value at
name as a List |
| Modifier and Type | Class and Description |
|---|---|
class |
ClassLoaderResourceLocatorFactory
Factory for a
ClassLoaderResourceLocator. |
class |
CommonLocatorFactory
A common superclass for implementing an
ILocatorFactory. |
class |
DelegatingLocatorFactory
An abstract superclass for implementing a delegation model on the
ILocatorFactory. |
class |
ExpandingLocatorFactory
A decorator that will expand the location before use.
|
class |
FileLocatorFactory
The factory for
FileLocator objects. |
class |
LookupLocatorFactory
Try to create an
ILocator from a list of ILocatorFactory
instances. |
class |
MappedLocatorLookup
Create an
ILocator using a lookup table of alias names. |
class |
RelativeLocatorFactory
|
class |
SchemeBasedLocatorFactory
Create an
ILocator where the concrete ILocatorFactory is
identified by a scheme prefix in the location. |
class |
SearchPathLocatorFactory
Provides lookup of an
ILocator relative to a list of search path
parents. |
class |
ZipFileLocatorFactory
Locate resources contained within a zip file.
|
| Modifier and Type | Method and Description |
|---|---|
static ILocatorFactory |
LocatorTools.createLocalLocatorFactory(Object context,
ILocatorFactory fallback)
Create a new
ILocatorFactory that will first try a lookup in the
local context object, with regard to IFileEnvironment and
IClassLoaderSupport, then in the fallback factory (if available). |
static ILocatorFactory |
LocatorFactory.get() |
ILocatorFactory |
ILocatorFactorySupport.getLocatorFactory()
An
ILocatorFactory to lookup resources in the context of the
receiver. |
ILocatorFactory |
SchemeBasedLocatorFactory.getNoSchemeLocatorFactory() |
ILocatorFactory |
SchemeBasedLocatorFactory.getUnknownSchemeLocatorFactory() |
ILocatorFactory |
SchemeBasedLocatorFactory.lookupLocatorFactory(String format) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ILocatorFactory> |
SchemeBasedLocatorFactory.getLocatorFactories() |
List<ILocatorFactory> |
LookupLocatorFactory.getLocatorFactories() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LookupLocatorFactory.addLocatorFactory(ILocatorFactory factory) |
static ILocatorFactory |
LocatorTools.createLocalLocatorFactory(Object context,
ILocatorFactory fallback)
Create a new
ILocatorFactory that will first try a lookup in the
local context object, with regard to IFileEnvironment and
IClassLoaderSupport, then in the fallback factory (if available). |
static ILocator |
LocatorTools.createLocator(Object value,
ILocatorFactory factory,
ILocator defaultValue) |
static ILocator[] |
LocatorTools.createLocators(String paths,
ILocatorFactory factory) |
void |
SchemeBasedLocatorFactory.registerLocatorFactory(String format,
ILocatorFactory factory) |
boolean |
LookupLocatorFactory.removeLocatorFactory(ILocatorFactory factory) |
static void |
LocatorFactory.set(ILocatorFactory factory) |
void |
SchemeBasedLocatorFactory.setNoSchemeLocatorFactory(ILocatorFactory factory) |
void |
SchemeBasedLocatorFactory.setUnknownSchemeLocatorFactory(ILocatorFactory factory) |
| Constructor and Description |
|---|
ExpandingLocatorFactory(ILocatorFactory factory,
IStringEvaluator evaluator) |
| Modifier and Type | Class and Description |
|---|---|
class |
TrustedLocatorFactory
Create an
ILocator that protects itself against malicious
manipulation of the underlying data. |
| Constructor and Description |
|---|
TrustedLocatorFactory(ILocatorFactory wrapped) |
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.