Package org.nuiton.eugene.java.extension
Class ConstantsManager
- java.lang.Object
-
- org.nuiton.eugene.java.extension.ConstantsManager
-
public class ConstantsManager extends Object
Manager of constant names.- Since:
- ?
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
nameToConstant
cache of constant name (values) for property name (keys)
-
Constructor Summary
Constructors Constructor Description ConstantsManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConstantName(String propertyName)
Obtain a constant nmae from a property name and store it in cache the first time it had to build it.protected Map<String,String>
getNameToConstant()
-