|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pajes.util.ProperCaseString
public class ProperCaseString
Utility class for converting a String into a properly cased String.
| Constructor Summary | |
|---|---|
ProperCaseString()
Creates an object to properly case strings. |
|
ProperCaseString(java.lang.String string,
boolean spaces)
Creates a properly cased string. |
|
| Method Summary | |
|---|---|
ProperCaseString |
setSpaces(boolean spaces)
Determines if the result should be returned with spaces separating the words or not. |
ProperCaseString |
setString(java.lang.String string)
Specifies the string to be properly cased. |
java.lang.String |
toString()
Over-rides the toString() method from Object to convert the string to a properly cased string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProperCaseString()
public ProperCaseString(java.lang.String string,
boolean spaces)
string - the string that is to be converted.spaces - true if the string is to be returned with spaces separating
the words, or false if the words are to be concatenated with
no spaces.| Method Detail |
|---|
public ProperCaseString setSpaces(boolean spaces)
spaces - true if the string is to be returned with spaces separating
the words, or false if the words are to be concatenated with
no spaces.
public ProperCaseString setString(java.lang.String string)
string - the string that is to be converted.
public java.lang.String toString()
string to a properly cased string.
toString in class java.lang.Object
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||