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

edu.stanford.protege.webprotege.app.DefaultApplicationPreferences Maven / Gradle / Ivy

The newest version!
package edu.stanford.protege.webprotege.app;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 16 Mar 2017
 */
public class DefaultApplicationPreferences {

    public static final String DEFAULT_APPLICATION_NAME = "WebProtégé";


    public static final String EMPTY_EMAIL_ADDRESS = "";


    private static final String DEFAULT_SCHEME = "https";

    private static final String DEFAULT_HOST = "";


    private static final String DEFAULT_PATH = "";

    private static final int DEFAULT_PORT = 443;

    private static final ApplicationPreferences DEFAULT_SETTINGS = new ApplicationPreferences(
            DEFAULT_APPLICATION_NAME,
            EMPTY_EMAIL_ADDRESS,
            new ApplicationLocation(DEFAULT_SCHEME,
                                    DEFAULT_HOST,
                                    DEFAULT_PATH,
                                    DEFAULT_PORT),
            Long.MAX_VALUE);

    public static ApplicationPreferences get() {
            return DEFAULT_SETTINGS;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy