Class NameUtil
java.lang.Object
com.inductiveautomation.ignition.common.util.NameUtil
This class provides helper functions for naming objects.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThe basic name factory generates sequential names with simple pattern detection.static interfacestatic interfaceFor a given object, provides its name.static interfaceThe implementor will return whether the provided name exists or not.static classThis NameValidator wrapper is used for generating many names, when the underlying name validator won't be updated on the fly.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringnextName(NameUtil.NameFactory factory, NameUtil.NameValidator validator) static StringnextName(String baseName, NameUtil.NameValidator validator) Returns the next name generated off of the given base name.
- 
Constructor Details- 
NameUtilpublic NameUtil()
 
- 
- 
Method Details- 
nextNameReturns the next name generated off of the given base name. Uses simple pattern detection for "name 0" or "name (0)".
- 
nextName
 
-