public final class Util
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Util.ExceptionRunnable |
Modifier and Type | Method and Description |
---|---|
static void |
copyFromJar(java.lang.ClassLoader loader,
java.lang.String resource,
java.lang.String destination)
Copy from the Class Loader
|
static void |
deleteDirectory(java.io.File folder)
Delete Directory
|
static boolean |
isException(Util.ExceptionRunnable runnable)
Determines if an Exception will occur
|
static java.lang.String |
readAll(java.io.Reader rd)
Read Everything from Reader
|
static java.lang.String |
unescapeJavaString(java.lang.String str)
Parse escapes in a Java String
|
public static java.lang.String readAll(java.io.Reader rd) throws java.io.IOException
rd
- Readerjava.io.IOException
public static void copyFromJar(java.lang.ClassLoader loader, java.lang.String resource, java.lang.String destination)
loader
- ClassLoaderresource
- Location Fromdestination
- Location Topublic static boolean isException(Util.ExceptionRunnable runnable)
runnable
- Runnablepublic static void deleteDirectory(java.io.File folder)
folder
- Locationpublic static java.lang.String unescapeJavaString(java.lang.String str)
str
- String