public class ResourceManager extends Object
Constructor and Description |
---|
ResourceManager()
|
Modifier and Type | Method and Description |
---|---|
static File |
getResource(String path)
Find a resource in the JAR file.
|
public static File getResource(String path) throws IOException
path
- path to the resource starting with a slash (e.g.
/lib/x64/libcaffe.so).
IOException
- on failure
locating or opening the resource.