public class ConfigHandler
extends java.lang.Object
Constructor and Description |
---|
ConfigHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
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()