public class FileManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
reloadingConfigs |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
fileNeedsReloading(java.lang.String fileName) |
static boolean |
isReloadingConfigs() |
static java.io.InputStream |
loadFile(java.lang.String fileName,
java.lang.Class clazz)
Loads opens the named file and returns the InputStream
|
static void |
setReloadingConfigs(boolean reloadingConfigs) |
public static void setReloadingConfigs(boolean reloadingConfigs)
public static boolean isReloadingConfigs()
public static boolean fileNeedsReloading(java.lang.String fileName)
public static java.io.InputStream loadFile(java.lang.String fileName,
java.lang.Class clazz)
fileName - - the name of the file to openjava.lang.IllegalArgumentException - if there is no file with the given file name