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

com.day.jcr.vault.util.Constants Maven / Gradle / Ivy

/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * __________________
 *
 *  Copyright 2011 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 *
 **************************************************************************/

package com.day.jcr.vault.util;

/**
 * Defines some (file) name constants.
 *
 */
public interface Constants {

    /**
     * the namespace uri of the 'vlt' namespace
     */
    String VAULT_NS_URI = "http://www.day.com/jcr/vault/1.0";

    /**
     * name of the {@value} directory
     */
    String META_INF = "META-INF";

    /**
     * name of the {@value} directory inside the {@value #META_INF}.
     */
    String VAULT_DIR = "vault";

    /**
     * default encoding for strings
     */
    String ENCODING = "utf-8";

    /**
     * path of the meta directory
     */
    String META_DIR = META_INF + "/" + VAULT_DIR;

    /**
     * name of the "hooks" directory
     */
    String HOOKS_DIR = "hooks";

    /**
     * name of the root directory under which all content goes.
     */
    String ROOT_DIR = "jcr_root";

    /**
     * name of the vault fs config file.
     */
    String CONFIG_XML = "config.xml";

    /**
     * name of the filter file.
     */
    String FILTER_XML = "filter.xml";

    /**
     * name of the filter file.
     */
    String FILTER_VLT_XML = "filter-vlt.xml";

    /**
     * name of the global settings file.
     */
    String SETTINGS_XML = "settings.xml";

    /**
     * name of the package definition directory
     */
    String PACKAGE_DEFINITION_XML = "definition/.content.xml";
    
    /**
     * name of the auth config
     */
    String AUTH_XML = "auth.xml";

    /**
     * name of the node types file.
     */
    String NODETYPES_CND = "nodetypes.cnd";

    /**
     * name of the custom export properties file
     */
    String PROPERTIES_XML = "properties.xml";

    /**
     * name of the custom privileges file
     * @since 3.0
     */
    String PRIVILEGES_XML = "privileges.xml";

    /**
     * name of the file for generic serializations
     */
    String DOT_CONTENT_XML = ".content.xml";

    /**
     * empty string array
     */
    String[] EMPTY_STRING_ARRAY = new String[0];

    /**
     * the native file separator char
     */
    String FS_NATIVE = System.getProperty("file.separator");


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy