package com.tandbergtv.watchpoint.pmm.web.util;

import static java.io.File.separator;

import java.io.File;

public class PMMPageconfigHelper {

	private static String PAGE_CONFIG_FILE = "search-page-config.xml";
	private static final String PRODUCT_DIR = "com.tandbergtv.cms.product.dir";
	private static final String PMM_CONFIG_DIR = "pmm";

	public static File getPageConfigFile() {
		String dir = System.getProperty(PRODUCT_DIR) + separator + "conf";
		String filename = dir + separator + PMM_CONFIG_DIR + separator
				+ PAGE_CONFIG_FILE;
		return new File(filename);
	}

}
