|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.main.tex.ResourceFinderImpl
public class ResourceFinderImpl
This ResourceFinder queries the user for the name of the file to use and tries to find it via its parent.
| Constructor Summary | |
|---|---|
ResourceFinderImpl(Configuration theConfiguration)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
enableLogging(java.util.logging.Logger theLogger)
Setter for the logger. |
void |
enableTracing(boolean flag)
Setter for the trace flag. |
NamedInputStream |
findResource(java.lang.String name,
java.lang.String type)
Find a resource which can be used for reading. |
void |
setInteractionProvider(InteractionIndicator provider)
Setter for the interaction provider. |
void |
setParent(ResourceFinder parent)
Setter for the parent resource finder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceFinderImpl(Configuration theConfiguration)
theConfiguration - the configuration to use| Method Detail |
|---|
public void enableLogging(java.util.logging.Logger theLogger)
enableLogging in interface LogEnabledtheLogger - the logger to useLogEnabled.enableLogging(
java.util.logging.Logger)public void enableTracing(boolean flag)
enableTracing in interface ResourceFinderflag - the trace flagResourceFinder.enableTracing(boolean)
public NamedInputStream findResource(java.lang.String name,
java.lang.String type)
throws ConfigurationException
null is returned.
findResource in interface ResourceFindername - the base name of the resourcetype - the type, i.e. the extension
null if none could be found
ConfigurationException - in case of an exceptionResourceFinder.findResource( java.lang.String,
java.lang.String)public void setInteractionProvider(InteractionIndicator provider)
setInteractionProvider in interface InteractionAwareprovider - the providerInteractionAware.setInteractionProvider(
org.extex.resource.InteractionIndicator)public void setParent(ResourceFinder parent)
setParent in interface RecursiveFinderparent - the parent resource finderRecursiveFinder.setParent(
org.extex.resource.ResourceFinder)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||