public class ResourceHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UES_HOME
UES Home expression.
|
Constructor and Description |
---|
ResourceHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
closeQuietly(java.io.Closeable resource)
Safely closes a closeable resource.
|
static java.io.InputStream |
getInputStream(java.lang.String path)
Creates input stream for the given file path.
|
private static java.lang.String |
getUESHome()
This method is duplicated from the
UESSystem#getUesHome() . |
path
- File path.UESSystem#getUesHome()
.resource
- Resource to be closed.