franta-hg@17: /** franta-hg@17: * SQL-DK franta-hg@17: * Copyright © 2013 František Kučera (frantovo.cz) franta-hg@17: * franta-hg@17: * This program is free software: you can redistribute it and/or modify franta-hg@17: * it under the terms of the GNU General Public License as published by franta-hg@17: * the Free Software Foundation, either version 3 of the License, or franta-hg@17: * (at your option) any later version. franta-hg@17: * franta-hg@17: * This program is distributed in the hope that it will be useful, franta-hg@17: * but WITHOUT ANY WARRANTY; without even the implied warranty of franta-hg@17: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the franta-hg@17: * GNU General Public License for more details. franta-hg@17: * franta-hg@17: * You should have received a copy of the GNU General Public License franta-hg@17: * along with this program. If not, see . franta-hg@17: */ franta-hg@17: package info.globalcode.sql.dk; franta-hg@17: franta-hg@33: import java.io.File; franta-hg@33: franta-hg@17: /** franta-hg@17: * franta-hg@17: * @author Ing. František Kučera (frantovo.cz) franta-hg@17: */ franta-hg@17: public class Constants { franta-hg@17: franta-hg@55: public static final String PROGRAM_NAME = "SQL-DK"; franta-hg@55: public static final String JAVA_PACKAGE = Constants.class.getPackage().getName(); franta-hg@17: public static final String WEBSITE = "https://sql-dk.globalcode.info/"; franta-hg@18: public static final String LICENSE_FILE = "info/globalcode/sql/dk/license.txt"; franta-hg@18: public static final String VERSION_FILE = "info/globalcode/sql/dk/version.txt"; franta-hg@19: public static final String HELP_FILE = "info/globalcode/sql/dk/help.txt"; franta-hg@33: private static final File HOME_DIR = new File(System.getProperty("user.home")); franta-hg@33: /** franta-hg@33: * Directory where config and log files are stored. franta-hg@33: */ franta-hg@79: public static final File DIR = new File(HOME_DIR, ".sql-dk"); // bash-completion:dir franta-hg@33: public static final File CONFIG_FILE = new File(DIR, "config.xml"); franta-hg@33: public static final String EXAMPLE_CONFIG_FILE = "info/globalcode/sql/dk/example-config.xml"; franta-hg@17: franta-hg@17: private Constants() { franta-hg@17: } franta-hg@17: }