All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.noraui.utils.Constants Maven / Gradle / Ivy

There is a newer version: 4.4.0
Show newest version
/**
 * NoraUi is licensed under the license GNU AFFERO GENERAL PUBLIC LICENSE
 *
 * @author Nicolas HALLOUIN
 * @author Stéphane GRILLON
 */
package com.github.noraui.utils;

import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

public class Constants {

    public static final String DATE_FORMAT = "dd/MM/yyyy";
    public static final String DATE_FORMAT_REG_EXP = "(^(((0[1-9]|1[0-9]|2[0-8])[\\/](0[1-9]|1[012]))|((29|30|31)[\\/](0[13578]|1[02]))|((29|30)[\\/](0[4,6,9]|11)))[\\/](19|[2-9][0-9])\\d\\d$)|(^29[\\/]02[\\/](19|[2-9][0-9])(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96)$)";

    public static final String VALUE = "value";

    public static final Charset DEFAULT_ENDODING = StandardCharsets.UTF_8;

    public static final String USER_DIR = "user.dir";
    public static final String CLI_FILES_DIR = ".noraui";
    public static final String CLI_APPLICATIONS_FILES_DIR = "applications";
    public static final String CLI_SCENARIOS_FILES_DIR = "scenarios";

    public static final String SCENARIO_FILE = "scenarios.properties";

    public static final String IS_CONNECTED_REGISTRY_KEY = "AUTH-isConnected";

    public static final String DATA_IN = "/data/in/";
    public static final String DATA_OUT = "/data/out/";

    public static final String DOWNLOADED_FILES_FOLDER = "downloadFiles";

    public static final String TOP_LEVEL_PACKAGE = "com.github.noraui";

    /**
     * Private constructor
     */
    private Constants() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy