/*
Tango - Personal Media Center
Copyright (C) 2021 Ulrich Hilger
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see main
.
*
*
* args
* ctx=mz port=9090 conf=conf www-data=www
*
* -Djava.util.logging.config.file=/pfad/zu/logging.properties
*
* @author Ulrich Hilger
* @version 1, 25.3.2021
*/
public class App {
private static final Logger logger = Logger.getLogger(App.class.getName());
/* Name des ResourceBundles dieser App */
public static final String RB_NAME = "tango";
/* ResourceBundle-Kennungen */
public static final String RB_PARAM_FEHLT = "msgParamFehlt";
public static final String RB_AP_PORT = "appParamPort";
public static final String RB_AP_CONF = "appParamConf";
public static final String RB_AP_WWW_DATA = "appParamWWWData";
public static final String RB_AP_CTX = "appParamCtx";
/**
*
Start-Methode dieser Anwendung
* * @param args Kommandozeilenparameter * @throws java.lang.ClassNotFoundException */ public static void main(String[] args) throws ClassNotFoundException { ResourceBundle rb = ResourceBundle.getBundle(RB_NAME); logger.fine(new File(".").getAbsolutePath()); HashMap