Class StringUtils
java.lang.Object
org.stathissideris.ascii2image.text.StringUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
The indexOf idiomstatic String
firstToUpper
(String string) Converts the first character ofstring
into a capital letterstatic String
getBaseFilename
(String fullPath) static String
getExtension
(String fullPath) static String
static String
insertSpaceAtCaps
(String string) static boolean
static boolean
isOneOf
(char c, char[] group) static boolean
static void
static String
repeatString
(String string, int repeats)
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
contains
The indexOf idiom- Parameters:
big
-fragment
-- Returns:
-
repeatString
-
isBlank
-
firstToUpper
Converts the first character ofstring
into a capital letter- Parameters:
string
-- Returns:
-
insertSpaceAtCaps
-
isOneOf
public static boolean isOneOf(char c, char[] group) -
isOneOf
-
getPath
-
getBaseFilename
-
getExtension
-
main
-