Class StringTools
java.lang.Object
org.hibernate.envers.internal.tools.StringTools
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappend(StringBuilder sb, Iterator<String> contents, String separator) To the given string builder, appends all strings in the given iterator, separating them with the given separator.static StringcapitalizeFirst(String fieldName) Capitalizes first letter of the stringstatic Stringstatic booleanstatic boolean
-
Constructor Details
-
StringTools
public StringTools()
-
-
Method Details
-
isEmpty
-
isEmpty
-
getLastComponent
-
append
To the given string builder, appends all strings in the given iterator, separating them with the given separator. For example, for an interator "a" "b" "c" and separator ":" the output is "a:b:c".- Parameters:
sb- String builder, to which to append.contents- Strings to be appended.separator- Separator between subsequent content.
-
capitalizeFirst
-