Class NameUtil
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.util.NameUtil
 
- 
 public class NameUtil extends java.lang.ObjectThis class provides helper functions for naming objects.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classNameUtil.BasicNameFactoryThe basic name factory generates sequential names with simple pattern detection.static interfaceNameUtil.NameFactorystatic interfaceNameUtil.NameProvider<T>For a given object, provides its name.static interfaceNameUtil.NameValidatorThe implementor will return whether the provided name exists or not.static classNameUtil.TrackingNameValidatorWrapperThis NameValidator wrapper is used for generating many names, when the underlying name validator won't be updated on the fly.
 - 
Constructor SummaryConstructors Constructor Description NameUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringnextName(NameUtil.NameFactory factory, NameUtil.NameValidator validator)static java.lang.StringnextName(java.lang.String baseName, NameUtil.NameValidator validator)Returns the next name generated off of the given base name.
 
- 
- 
- 
Method Detail- 
nextNamepublic static java.lang.String nextName(java.lang.String baseName, NameUtil.NameValidator validator)Returns the next name generated off of the given base name. Uses simple pattern detection for "name 0" or "name (0)".
 - 
nextNamepublic static java.lang.String nextName(NameUtil.NameFactory factory, NameUtil.NameValidator validator) 
 
- 
 
-