|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.resource.AbstractFinder
public abstract class AbstractFinder
This the abstract base class to provide the infrastructure for resource finders.
| Field Summary | |
|---|---|
protected static java.lang.String |
ATTR_DEFAULT
The constant ATTR_DEFAULT contains the attribute name for the default type. |
protected static java.lang.String |
ATTR_SKIP
The field ATTR_SKIP contains the attribute name for the skip indicator. |
protected static java.lang.String |
ATTR_TRACE
The constant ATTR_TRACE contains the attribute name for the tracing enabler. |
protected static java.lang.String |
EXTENSION_TAG
The constant EXTENSION_TAG contains the name of the tag to get the possible extensions. |
| Constructor Summary | |
|---|---|
AbstractFinder(Configuration configuration)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
enableLogging(java.util.logging.Logger theLogger)
Setter for the logger. |
void |
enableTracing(boolean flag)
Enable or disable the tracing. |
protected Configuration |
getConfiguration()
Getter for configuration. |
protected void |
trace(java.lang.String key,
java.lang.Object... args)
Produce an internationalized trace message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.extex.resource.ResourceFinder |
|---|
findResource |
| Field Detail |
|---|
protected static final java.lang.String ATTR_DEFAULT
protected static final java.lang.String ATTR_SKIP
protected static final java.lang.String ATTR_TRACE
protected static final java.lang.String EXTENSION_TAG
| Constructor Detail |
|---|
public AbstractFinder(Configuration configuration)
throws ConfigurationMissingException
configuration - the encapsulated configuration object
ConfigurationMissingException - in case of an error: The argument
configuration is null.| Method Detail |
|---|
public void enableLogging(java.util.logging.Logger theLogger)
enableLogging in interface LogEnabledtheLogger - the logger to set.LogEnabled.enableLogging(
java.util.logging.Logger)public void enableTracing(boolean flag)
enableTracing in interface ResourceFinderflag - indicator whether tracing should be turned on or off.ResourceFinder.enableTracing(boolean)protected Configuration getConfiguration()
protected void trace(java.lang.String key,
java.lang.Object... args)
key - the resource key for the message formatargs - the arguments to insert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||