
public class ServerInitDatabase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
_INFO_ARGS |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
getParams(String[] args) |
static void |
initdb() |
static boolean |
loadHostAuth(String filename) |
static boolean |
loadRules(File dirConfig) |
static void |
main(String[] args) |
static boolean |
upgradedb() |
protected static final String _INFO_ARGS
protected static boolean getParams(String[] args)
public static void main(String[] args)
args - as config_database file [rules_directory host_authent
limit_configuration]public static void initdb()
throws WaarpDatabaseNoConnectionException
public static boolean upgradedb()
throws WaarpDatabaseException
WaarpDatabaseExceptionpublic static boolean loadRules(File dirConfig) throws WaarpDatabaseException
WaarpDatabaseExceptionpublic static boolean loadHostAuth(String filename)
Copyright © 2009–2020 Waarp. All rights reserved.