java/sql-dk/src/info/globalcode/sql/dk/Constants.java
author František Kučera <franta-hg@frantovo.cz>
Tue, 24 Dec 2013 14:36:14 +0100
branchv_0
changeset 54 53020d0bd2e4
parent 33 04db6ccd6c48
child 55 f5ed7c4efacc
permissions -rw-r--r--
named parameters: prefix/suffix are now regular expressions
franta-hg@17
     1
/**
franta-hg@17
     2
 * SQL-DK
franta-hg@17
     3
 * Copyright © 2013 František Kučera (frantovo.cz)
franta-hg@17
     4
 *
franta-hg@17
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@17
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@17
     7
 * the Free Software Foundation, either version 3 of the License, or
franta-hg@17
     8
 * (at your option) any later version.
franta-hg@17
     9
 *
franta-hg@17
    10
 * This program is distributed in the hope that it will be useful,
franta-hg@17
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@17
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@17
    13
 * GNU General Public License for more details.
franta-hg@17
    14
 *
franta-hg@17
    15
 * You should have received a copy of the GNU General Public License
franta-hg@17
    16
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@17
    17
 */
franta-hg@17
    18
package info.globalcode.sql.dk;
franta-hg@17
    19
franta-hg@33
    20
import java.io.File;
franta-hg@33
    21
franta-hg@17
    22
/**
franta-hg@17
    23
 *
franta-hg@17
    24
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@17
    25
 */
franta-hg@17
    26
public class Constants {
franta-hg@17
    27
franta-hg@17
    28
	public static final String WEBSITE = "https://sql-dk.globalcode.info/";
franta-hg@18
    29
	public static final String LICENSE_FILE = "info/globalcode/sql/dk/license.txt";
franta-hg@18
    30
	public static final String VERSION_FILE = "info/globalcode/sql/dk/version.txt";
franta-hg@19
    31
	public static final String HELP_FILE = "info/globalcode/sql/dk/help.txt";
franta-hg@33
    32
	private static final File HOME_DIR = new File(System.getProperty("user.home"));
franta-hg@33
    33
	/**
franta-hg@33
    34
	 * Directory where config and log files are stored.
franta-hg@33
    35
	 */
franta-hg@33
    36
	public static final File DIR = new File(HOME_DIR, ".sql-dk");
franta-hg@33
    37
	public static final File CONFIG_FILE = new File(DIR, "config.xml");
franta-hg@33
    38
	public static final String EXAMPLE_CONFIG_FILE = "info/globalcode/sql/dk/example-config.xml";
franta-hg@17
    39
franta-hg@17
    40
	private Constants() {
franta-hg@17
    41
	}
franta-hg@17
    42
}