public class Strings
extends com.deltek.enterprise.core.utils.Strings
Constructor and Description |
---|
Strings() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
capitalizeFully(java.lang.String input)
Converts all the whitespace separated words in a String into capitalized words, that is each word is made up of a
titlecase character and then a series of lowercase characters.
|
static java.lang.String |
capitalizeFully(java.lang.String input,
char[] delimiters)
Converts all the delimiter separated words in a String into capitalized words, that is each word is made up
of a titlecase character and then a series of lowercase characters.
|
static boolean |
checkForSpecialCharacters(java.lang.String value,
java.lang.String templateID,
AppInterface appI)
This method should be used by preprocessor apps where we upload data from external sources , e.g.
|
static java.lang.String |
sanitizeInput(java.lang.String iStr)
This method replaces certain chars with escape char.
|
calendarToStr, exceptionAsString, in, in, isValidNumber, isValidNumber, javaStringSmartTokenize, left, levelCount, levelCount, ltrim, main, mid, nextUID, numberToStr, numberToStr, QuotedString, removeQuotes, repeat, replace, replaceSystemWithSpace, right, rtrim, SalStrTrimX, smartTokenize, smartTokenize, smartTokenize, strToCalendar, sysFixNumberConversionErrors, sysFormatNumber, tokenize, tokenize
public static boolean checkForSpecialCharacters(java.lang.String value, java.lang.String templateID, AppInterface appI)
value
- templateID
- Template id if have one , see TMPL_* constants in com.deltek.enterprise.system.applicationinterface.ColumnMetadataappI
- public static java.lang.String sanitizeInput(java.lang.String iStr)
iStr
- input sctringpublic static java.lang.String capitalizeFully(java.lang.String input)
input
- public static java.lang.String capitalizeFully(java.lang.String input, char[] delimiters)
input
- delimiters
-