public class ConfigFileLoader extends Object
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.| Modifier and Type | Method and Description |
|---|---|
static InputStream |
getInputStream(String location)
Load the resource from the specified location.
|
static URI |
getURI(String location) |
public static InputStream getInputStream(String location) throws 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.IOException - If an InputStream cannot be created using the
provided locationCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.