/*
 * Created on September 30, 2008 (C) Copyright TANDBERG Television Ltd.
 */

package com.tandbergtv.watchpoint.pmm.web.validators;

import java.util.ResourceBundle;

/**
 * @author Vlada Jakobac
 */
public final class ValidatorProperties {

	/* The name of the Resource Bundle */
	private static final String BUNDLE_NAME = "com.tandbergtv.watchpoint.pmm.web.validators.validation";

	/* Load the Resource Bundle */
	private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);

	/**
	 * The Property Name containing the top-level folder path containing all the Provider specific
	 * content.
	 */
	public static final String SPECIAL_CHARACTERS_LIST = "forbiddenSpecialCharacters";


	/* Cannot instantiate this class */
	private ValidatorProperties() {
	}

	/**
	 * Gets the value of a property given the format key and property name
	 * 
	 * @param formatKey The Format Key
	 * @param propertyName The Property Name
	 * @return the value
	 */
	public static String getProperty(String propertyName) {
		return RESOURCE_BUNDLE.getString(propertyName);
	}


}
