/*
* $Id: Constants.java,v 1.11 2004/10/17 23:45:30 csaltos Exp $
*
* Copyright 1999 PUCE [http://www.puce.edu.ec]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.oxyus.util;
/**
* @author Carlos Saltos (csaltos[@]users.sourceforge.net)
*/
public class Constants {
private Constants() {
// can't be instantiated
}
/**
* The oxyus release version
*/
public static final String OXYUS_RELEASE = "0.2.3";
/**
* The java version oxyus is running on
**/
public static final String JAVA_VERSION =
System.getProperty("java.version");
/**
* The operating system oxyus is running on
*/
public static final String OS_NAME = System.getProperty("os.name");
/**
* System property name to locate the Oxyus Home Directory
*/
public static final String OXYUS_HOME = "oxyus.home";
/**
* Directory name under oxyus.home where the Oxyus configuration files
* are stored
*/
public static final String CONFIG_DIRECTORY = "conf";
/**
* Directory name under oxyus.home where the Oxyus database
* scripting support files are stored
*/
public static final String SUPPORT_DIRECTORY = "support";
/**
* Filename of the Logger properties stored in CONFIG_DIRECTORY
*/
public static final String LOGGER_CONFIGURATION = "log4j.properties";
/**
* Filename of the scheduler properties stored in CONFIG_DIRECTORY
*/
public static final String SCHEDULER_CONFIGURATION = "scheduler.properties";
/**
* Filename of the initial pages addresses for Oxyus Crawler stored in
* the CONFIG_DIRECTORY
*/
public static final String CONFIGURATION_INITIAL_PAGES = "initial_pages.conf";
/**
* Filename of the oxyus properties stored in the CONFIG_DIRECTORY
*/
public static final String CONFIGURATION_OXYUS = "oxyus.properties";
/**
* Filename of the oxyus properties stored in the CONFIG_DIRECTORY
*/
public static final String CONFIGURATION_TEST = "test.properties";
/**
* Filename of the crawling scope rules stored in the CONFIG_DIRECTORY
*/
public static final String CONFIGURATION_SCOPE = "scope.conf";
/**
* The name of the index directory property inside CONFIGURATION_OXYUS file
*/
public static final String PROPERTY_INDEX_DIRECTORY =
"oxyus.index.directory";
/**
* The name of the database type property inside
* CONFIGURATION_OXYUS file
*/
public static final String PROPERTY_STORE_TYPE =
"oxyus.store.type";
/**
* The name of the database class driver property inside
* CONFIGURATION_OXYUS file
*/
public static final String PROPERTY_STORE_CLASSDRIVER =
"oxyus.store.classdriver";
/**
* The name of the database url property inside CONFIGURATION_OXYUS file
*/
public static final String PROPERTY_STORE_URL = "oxyus.store.url";
/**
* The name of the database user property inside CONFIGURATION_OXYUS file
*/
public static final String PROPERTY_STORE_USER =
"oxyus.store.user";
/**
* The name of the database password property inside CONFIGURATION_OXYUS
* file
*/
public static final String PROPERTY_STORE_PASSWORD =
"oxyus.store.password";
/**
* The name of the database catalog property inside CONFIGURATION_OXYUS
* file
*/
public static final String PROPERTY_STORE_CATALOG =
"oxyus.store.catalog";
/**
* The name of the database sequence query property inside
* CONFIGURATION_OXYUS file
*/
public static final String PROPERTY_STORE_SEQUENCE_QUERY =
"oxyus.store.sequencequery";
/**
* The name of the crawler collectors property inside CONFIGURATION_OXYUS
* file
*/
public static final String PROPERTY_CRAWLER_COLLECTORS =
"oxyus.crawler.collectors";
/**
* The name of the maximum content size to be collected property inside
* CONFIGURATION_OXYUS file
*/
public static final String PROPERTY_CRAWLER_MAX_CONTENT_SIZE =
"oxyus.crawler.maxcontentsize";
}
|