Package org.zkoss.pivot.impl.util
Class Texts
java.lang.Object
org.zkoss.pivot.impl.util.Texts
String related utility.
- Author:
- simonpai
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringcapitalize(String str) Capitalize a stringstatic intgetRankIndex(String key) Convert key back to array indexstatic int[]getRankIndices(String key) Convert key back to an array of node indicesstatic StringgetRankKey(int index) Return a hash key for at node given indexstatic StringgetRankKey(int index, int depth) Return a hash key for node at given index and depth
-
Constructor Details
-
Texts
public Texts()
-
-
Method Details
-
capitalize
Capitalize a string -
getRankKey
Return a hash key for node at given index and depth -
getRankKey
Return a hash key for at node given index -
getRankIndices
Convert key back to an array of node indices -
getRankIndex
Convert key back to array index
-