fr.ifremer.isisfish.ui.sensitivity
Class SensitivityUtils

java.lang.Object
  extended by fr.ifremer.isisfish.ui.sensitivity.SensitivityUtils

public class SensitivityUtils
extends Object

Utility class to parse Sensitivity properties file.

Version:
$Revision: 2857 $ Last update: $Date: 2009-12-21 16:08:40 +0100 (lun., 21 déc. 2009) $ by : $Author: chatellier $
Author:
letellier

Field Summary
protected static String PROPERTIES_PATH
          Properties file resource path.
protected static Properties sensitivityProperties
          Cached properties.
 
Constructor Summary
SensitivityUtils()
           
 
Method Summary
static Properties getProperties()
          Return cached properties file.
static boolean isSensitivityFactorEnabled(String sensitivityFactorName)
          Is field sensitivity enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTIES_PATH

protected static final String PROPERTIES_PATH
Properties file resource path.

See Also:
Constant Field Values

sensitivityProperties

protected static Properties sensitivityProperties
Cached properties.

Constructor Detail

SensitivityUtils

public SensitivityUtils()
Method Detail

isSensitivityFactorEnabled

public static boolean isSensitivityFactorEnabled(String sensitivityFactorName)
Is field sensitivity enabled. Return true, if field name is present in properties file.

Parameters:
sensitivityFactorName - name
Returns:
true if factor name is sensitivity enabled

getProperties

public static Properties getProperties()
Return cached properties file. Load it at first call.

Returns:
properties


Copyright © 1999-2010 CodeLutin. All Rights Reserved.