Top Description Fields Constructors Methods
org.apache.tomcat.util.file

public Class ConfigFileLoader

extends Object
Class Inheritance
Imports
java.io.InputStream

This class is used to obtain InputStreams for configuration files from a given location String. This allows greater flexibility than these files having to be loaded directly from a file system.

Field Summary

Modifier and TypeField and Description
private static ConfigurationSource

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static final ConfigurationSource

Returns:

the configuration source in use
getSource
()

Get the configured configuration source.

public static final void
setSource(ConfigurationSource
The source
source
)

Set the configuration source used by Tomcat to locate various configuration resources.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

sourceback to summary
private static ConfigurationSource source

Constructor Detail

ConfigFileLoaderback to summary
private ConfigFileLoader()

Method Detail

getSourceback to summary
public static final ConfigurationSource getSource()

Get the configured configuration source. If none has been configured, a default source based on the calling directory will be used.

Returns:ConfigurationSource

the configuration source in use

setSourceback to summary
public static final void setSource(ConfigurationSource source)

Set the configuration source used by Tomcat to locate various configuration resources.

Parameters
source:ConfigurationSource

The source