public class JarResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static Logger |
log |
Constructor and Description |
---|
JarResource() |
Modifier and Type | Method and Description |
---|---|
static void |
delete(java.lang.String resourceName) |
static java.lang.String |
export(java.lang.String resourceName)
Export a resource embedded into a Jar file to the local file path.
|
public static java.lang.String export(java.lang.String resourceName) throws java.io.IOException
resourceName
- "Sound.wav"java.lang.Exception
java.io.IOException
public static void delete(java.lang.String resourceName)