|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jlog2.util.ConfigHandler
public class ConfigHandler
Manages initial config settings.
Constructor Summary | |
---|---|
ConfigHandler()
|
Method Summary | |
---|---|
protected static java.io.File |
getConfigFile()
Determine what the correct path to the config file is and return. |
static int |
getDefaultFileSize()
Get the default log file size in terms of line number. |
protected static java.lang.String |
getLogFolder()
Get the logging folder path. |
static boolean |
setConfigFolderPath(java.lang.String configFolderPath)
Set the folder path to read the config file from. |
static boolean |
setLogFolderPath(java.lang.String thisLogFolderPath)
Set the folder path to write the log files to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigHandler()
Method Detail |
---|
public static boolean setConfigFolderPath(java.lang.String configFolderPath)
configFolderPath
- the folder path to the config file.
public static boolean setLogFolderPath(java.lang.String thisLogFolderPath)
thisLogFolderPath
- the folder path to write log files to.
public static int getDefaultFileSize()
protected static java.io.File getConfigFile()
protected static java.lang.String getLogFolder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |