Package org.opencms.xml.content
Class CmsNumberSuffixNameSequence
java.lang.Object
org.opencms.xml.content.CmsNumberSuffixNameSequence
Name generator which appends a numeric suffix to a given base string.
- Since:
- 8.0.0
-
Constructor Summary
ConstructorDescriptionCmsNumberSuffixNameSequence
(String str, boolean splitExtension) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
CmsNumberSuffixNameSequence
Creates a new instance.- Parameters:
str
- the base name which should be used for generating the namessplitExtension
- if true, the number will be inserted before the 'extension', i.e. the sequence of characters starting with the last occurrence of a dot in str.
-
-
Method Details