Package com.hannonhill.cascade.velocity
Class StringTool
- java.lang.Object
-
- com.hannonhill.cascade.velocity.StringTool
-
public class StringTool extends java.lang.Object
This class contains methods that are not supplied by theString
class, but are used widely in XSLTs and will therefore be made available in Velocity via this tool.- Since:
- 6.2
-
-
Constructor Summary
Constructors Constructor Description StringTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateUUID()
java.lang.StringBuilder
getStringBuilder()
java.lang.String
substringAfter(java.lang.String haystack, java.lang.String needle)
java.lang.String
substringBefore(java.lang.String haystack, java.lang.String needle)
-
-
-
Method Detail
-
substringBefore
public java.lang.String substringBefore(java.lang.String haystack, java.lang.String needle)
-
substringAfter
public java.lang.String substringAfter(java.lang.String haystack, java.lang.String needle)
-
generateUUID
public java.lang.String generateUUID()
-
getStringBuilder
public java.lang.StringBuilder getStringBuilder()
-
-