001 /*
002 * Apache License
003 * Version 2.0, January 2004
004 * http://www.apache.org/licenses/
005 *
006 * Copyright 2008 by chenillekit.org
007 *
008 * Licensed under the Apache License, Version 2.0 (the "License");
009 * you may not use this file except in compliance with the License.
010 * You may obtain a copy of the License at
011 *
012 * http://www.apache.org/licenses/LICENSE-2.0
013 */
014
015 package org.chenillekit.tapestry.core;
016
017 /**
018 * some constants for t5components library.
019 *
020 * @version $Id: ChenilleKitCoreConstants.java 594 2009-12-05 15:17:26Z mlusetti $
021 */
022 public class ChenilleKitCoreConstants
023 {
024 public static String __THUMBNAL_DIRECTORY__ = "thumbnails";
025 public static String __CR__ = System.getProperty("line.separator");
026 public static String __VERSION__;
027 public static String URI_PREFIX = "uri";
028 public static String URI_PATH_PREFIX = "/" + URI_PREFIX + "/";
029
030 private static ChenilleKitCoreConstants ourInstance = new ChenilleKitCoreConstants();
031
032 public static ChenilleKitCoreConstants getInstance()
033 {
034 return ourInstance;
035 }
036
037 private ChenilleKitCoreConstants()
038 {
039 __VERSION__ = this.getClass().getPackage().getImplementationVersion();
040 if (__VERSION__ == null)
041 __VERSION__ = "unknown";
042 }
043 }
044