Lifted from https://stackoverflow.com/questions/1386809/copy-directory-from-a-jar-file
| Type Params | Return Type | Name and description |
|---|---|---|
|
static boolean |
copyFile(java.io.File toCopy, java.io.File destFile) |
|
static void |
copyJarResourcesRecursively(java.net.JarURLConnection jarConnection, java.io.File destination) |
|
static void |
copyResourcesRecursively(java.net.URL originUrl, java.io.File destination)@param originUrl |
|
static void |
safeClose(java.io.Closeable closeable)Closes the given resource (e.g. stream, reader, writer, etc.) inside a try/catch. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Closes the given resource (e.g. stream, reader, writer, etc.) inside a try/catch. Does nothing if stream is null.