Class StringExaminer
java.lang.Object
ch.nolix.base.commontypetool.stringtool.StringExaminer
- All Implemented Interfaces:
IStringExaminer
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLowerCase(String string) booleanisPascalCase(String string) booleanstartsWithIgnoringCase(String string, String prefix)
-
Constructor Details
-
StringExaminer
public StringExaminer()
-
-
Method Details
-
isLowerCase
- Specified by:
isLowerCasein interfaceIStringExaminer- Parameters:
string-- Returns:
- true if the given string is in lower case, false otherwise.
-
isPascalCase
- Specified by:
isPascalCasein interfaceIStringExaminer- Parameters:
string-- Returns:
- true if the given string is in pascal case, false otherwise.
-
startsWithIgnoringCase
- Specified by:
startsWithIgnoringCasein interfaceIStringExaminer- Parameters:
string-prefix-- Returns:
- true if the given string starts with the given prefix ignoring case, false otherwise.
-