public class ConfigFileLoader
extends java.lang.Object
InputStream
s for configuration files
from a given location String. This allows greater flexibility than these
files having to be loaded directly from a file system.Modifier and Type | Method and Description |
---|---|
static java.io.InputStream |
getInputStream(java.lang.String location)
Deprecated.
|
static ConfigurationSource |
getSource() |
static java.net.URI |
getURI(java.lang.String location)
Deprecated.
|
static void |
setSource(ConfigurationSource source) |
public static final ConfigurationSource getSource()
public static final void setSource(ConfigurationSource source)
@Deprecated public static java.io.InputStream getInputStream(java.lang.String location) throws java.io.IOException
location
- The location for the resource of interest. The location
may be a URL or a file path. Relative paths will be
resolved against CATALINA_BASE.java.io.IOException
- If an InputStream cannot be created using the
provided location@Deprecated public static java.net.URI getURI(java.lang.String location)
Copyright © 2000-2023 Apache Software Foundation. All Rights Reserved.