public class Config extends Object
Constructor and Description |
---|
Config() |
Modifier and Type | Method and Description |
---|---|
static void |
createConfigFile()
Creates a default configuration file
|
static boolean |
doesConfExist() |
static String |
getConfigLocation() |
static String |
getDbLoc() |
static String |
getPrefix() |
static Version |
getProgramVersion() |
static String |
getProp(String property) |
static String |
getSSL() |
static void |
setConfigLocation(String configLocation) |
public static String getConfigLocation()
public static void setConfigLocation(String configLocation)
configLocation
- The location of the configuration filepublic static boolean doesConfExist()
public static String getDbLoc()
public static String getPrefix()
public static String getSSL()
public static Version getProgramVersion()
public static String getProp(String property)
property
- The propertiy to retrievepublic static void createConfigFile()
Copyright © 2014–2018. All rights reserved.