public final class ResourceUtil extends Object
Modifier and Type | Method and Description |
---|---|
static InputStream |
getInputStream(String _reference)
Checks that the reference is either an absolute path to a file, or a reference to a file within reach of class loader resources.
|
static InputStream |
getInputStreamForFileAbsolutePath(String _path)
Will check that the path is absolute and is pointing to an existing file.
|
public static InputStream getInputStream(String _reference)
_reference
- public static InputStream getInputStreamForFileAbsolutePath(String _path)
_path
- absolute path to a fileCopyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621