public class CaseInsensitiveNaming extends Object implements NamingStrategy
| Constructor and Description |
|---|
CaseInsensitiveNaming() |
| Modifier and Type | Method and Description |
|---|---|
PropertyNaming |
buildNames(Property prop,
GroupProxy parentGroup)
Build a list of names for the Property
|
PropertyNaming |
buildNamesFromCanonical(Property prop,
GroupProxy parentGroup,
String canonicalName) |
String |
getNameMatchingDescription()
Returns a description of how names are matched for use in samples and documentation.
|
String |
toEffectiveName(String name)
Transforms a property name found in a property source (like a properties file,
cmd line argument, env variable, etc.) into the form needed to match the
expected property names.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUriName, isUriNameDistictpublic PropertyNaming buildNames(Property prop, GroupProxy parentGroup) throws Exception
NamingStrategybuildNames in interface NamingStrategyprop - The Property to be namedparentGroup - Properties are contained in GroupException - A security exception trying to read fields of a Group via reflection.public PropertyNaming buildNamesFromCanonical(Property prop, GroupProxy parentGroup, String canonicalName)
public String toEffectiveName(String name)
NamingStrategytoEffectiveName in interface NamingStrategypublic String getNameMatchingDescription()
NamingStrategygetNameMatchingDescription in interface NamingStrategyCopyright © 2017. All rights reserved.