de.uplanet.lucy.server.auxiliaries
Class Constants

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.Constants

@VelocityCallable(value="singleton")
public final class Constants
extends java.lang.Object

Utility class to get arbitrary class constants.

Version:
$Revision: 64100 $

Constructor Summary
Constants()
           
 
Method Summary
 java.lang.Object get(java.lang.String p_strClass, java.lang.String p_strField)
          Get a class constant.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Constants

public Constants()
Method Detail

get

public java.lang.Object get(java.lang.String p_strClass,
                            java.lang.String p_strField)
Get a class constant.

Parameters:
p_strClass - The name of the class.
p_strField - The name of the field whose value to get.
Returns:
The value of the field or null if an error occurred.


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.