public class Srl extends Object
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
Srl.DelimiterInfo |
static class |
Srl.IndexOfInfo |
protected static class |
Srl.KeywordType |
protected static class |
Srl.ListElementContainsType |
static class |
Srl.ScopeInfo |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected static Set<Character> |
_alphabetHarfCharSet |
protected static Set<Character> |
_alphabetHarfLowerCharSet |
protected static Set<Character> |
_alphabetHarfNumberHarfCharSet |
protected static Set<Character> |
_alphabetHarfUpperCharSet |
protected static Set<Character> |
_alphabetNumberHarfLowerCharSet |
protected static Set<Character> |
_alphabetNumberHarfUpperCharSet |
protected static Set<Character> |
_numberHarfCharSet |
protected static String |
HARF_LOWER_ALPHABET |
protected static String |
HARF_NUMBER |
| コンストラクタと説明 |
|---|
Srl() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected static void |
assertBeginMarkNotNull(String beginMark) |
protected static void |
assertCamelNameNotNull(String camelName) |
protected static void |
assertDecamelNameNotNull(String decamelName) |
protected static void |
assertDelimiterNotNull(String delimiter) |
protected static void |
assertElementNotNull(String element) |
protected static void |
assertElementVaryingNotNull(String[] elements) |
protected static void |
assertEndMarkNotNull(String endMark) |
protected static void |
assertFromStringNotNull(String fromStr) |
protected static void |
assertFromToMapNotNull(Map<String,String> fromToMap) |
protected static void |
assertKeywordNotNull(String keyword) |
protected static void |
assertKeywordVaryingNotNull(String[] keywords) |
protected static void |
assertObjectNotNull(String variableName,
Object value)
Assert that the object is not null.
|
protected static void |
assertPrefixNotNull(String prefix) |
protected static void |
assertQuotationNotNull(String quotation) |
protected static void |
assertSqlNotNull(String sql) |
protected static void |
assertStringListNotNull(Collection<String> strList) |
protected static void |
assertStringNotNull(String str) |
protected static void |
assertStringNotNullAndNotTrimmedEmpty(String variableName,
String value)
Assert that the entity is not null and not trimmed empty.
|
protected static void |
assertSuffixNotNull(String suffix) |
protected static void |
assertToStringNotNull(String toStr) |
static String |
camelize(String decamelName) |
static String |
camelize(String decamelName,
String... delimiters) |
static String |
connectByDelimiter(Collection<String> strList,
String delimiter) |
static String |
connectByDelimiterQuoted(Collection<String> strList,
String delimiter,
String quotation) |
static String |
connectPrefix(String str,
String prefix,
String delimiter) |
static String |
connectSuffix(String str,
String suffix,
String delimiter) |
static boolean |
contains(String str,
String keyword) |
static boolean |
containsAll(String str,
String... keywords) |
static boolean |
containsAllIgnoreCase(String str,
String... keywords) |
static boolean |
containsAny(String str,
String... keywords) |
static boolean |
containsAnyIgnoreCase(String str,
String... keywords) |
static boolean |
containsElement(Collection<String> strList,
String element) |
static boolean |
containsElementAll(Collection<String> strList,
String... elements) |
static boolean |
containsElementAllIgnoreCase(Collection<String> strList,
String... elements) |
static boolean |
containsElementAny(Collection<String> strList,
String... elements) |
static boolean |
containsElementAnyIgnoreCase(Collection<String> strList,
String... elements) |
static boolean |
containsElementIgnoreCase(Collection<String> strList,
String element) |
static boolean |
containsIgnoreCase(String str,
String keyword) |
static boolean |
containsKeyword(Collection<String> strList,
String keyword) |
static boolean |
containsKeywordAll(Collection<String> strList,
String... keywords) |
static boolean |
containsKeywordAllIgnoreCase(Collection<String> strList,
String... keywords) |
static boolean |
containsKeywordAny(Collection<String> strList,
String... keywords) |
static boolean |
containsKeywordAnyIgnoreCase(Collection<String> strList,
String... keywords) |
static boolean |
containsKeywordIgnoreCase(Collection<String> strList,
String keyword) |
static boolean |
containsOrderedAll(String str,
String... keywords) |
static boolean |
containsOrderedAllIgnoreCase(String str,
String... keywords) |
static boolean |
containsPrefix(Collection<String> strList,
String prefix) |
static boolean |
containsPrefixAll(Collection<String> strList,
String... prefixes) |
static boolean |
containsPrefixAllIgnoreCase(Collection<String> strList,
String... prefixes) |
static boolean |
containsPrefixAny(Collection<String> strList,
String... prefixes) |
static boolean |
containsPrefixAnyIgnoreCase(Collection<String> strList,
String... prefixes) |
static boolean |
containsPrefixIgnoreCase(Collection<String> strList,
String prefix) |
static boolean |
containsSuffix(Collection<String> strList,
String suffix) |
static boolean |
containsSuffixAll(Collection<String> strList,
String... suffixes) |
static boolean |
containsSuffixAllIgnoreCase(Collection<String> strList,
String... suffixes) |
static boolean |
containsSuffixAny(Collection<String> strList,
String... suffixes) |
static boolean |
containsSuffixAnyIgnoreCase(Collection<String> strList,
String... suffixes) |
static boolean |
containsSuffixIgnoreCase(Collection<String> strList,
String suffix) |
static int |
count(String str,
String element) |
static int |
countIgnoreCase(String str,
String element) |
static String |
cut(String str,
int length) |
static String |
cut(String str,
int length,
String suffix) |
static String |
decamelize(String camelName) |
static String |
decamelize(String camelName,
String delimiter) |
static <ELEMENT> String |
delimit(Collection<ELEMENT> list,
Function<ELEMENT,String> oneArgInLambda,
String delimiter) |
protected static String |
doCamelize(String decamelName,
String delimiter) |
protected static String |
doConnectByDelimiter(Collection<String> strList,
String delimiter,
String quotation) |
protected static boolean |
doContainsAll(boolean ignoreCase,
String str,
String... keywords) |
protected static boolean |
doContainsAny(boolean ignoreCase,
String str,
String... keywords) |
protected static boolean |
doContainsElement(boolean all,
boolean ignoreCase,
Srl.ListElementContainsType type,
Collection<String> strList,
String... elements) |
protected static boolean |
doContainsElementAll(boolean ignoreCase,
Collection<String> strList,
String... elements) |
protected static boolean |
doContainsElementAny(boolean ignoreCase,
Collection<String> strList,
String... elements) |
protected static boolean |
doContainsKeywordAll(boolean ignoreCase,
Collection<String> strList,
String... keywords) |
protected static boolean |
doContainsKeywordAny(boolean ignoreCase,
Collection<String> strList,
String... keywords) |
protected static boolean |
doContainsOrderedAll(boolean ignoreCase,
String str,
String... keywords) |
protected static boolean |
doContainsPrefixAll(boolean ignoreCase,
Collection<String> strList,
String... prefixes) |
protected static boolean |
doContainsPrefixAny(boolean ignoreCase,
Collection<String> strList,
String... prefixes) |
protected static boolean |
doContainsSuffixAll(boolean ignoreCase,
Collection<String> strList,
String... suffixes) |
protected static boolean |
doContainsSuffixAny(boolean ignoreCase,
Collection<String> strList,
String... suffixes) |
protected static int |
doCount(String str,
String element,
boolean ignoreCase) |
protected static String |
doDecamelize(String camelName,
String delimiter) |
protected static boolean |
doEndsWith(boolean ignoreCase,
String str,
String... suffixes) |
protected static List<Srl.ScopeInfo> |
doExtractScopeList(String str,
String beginMark,
String endMark,
boolean firstOnly) |
protected static String |
doFill(String str,
int size,
boolean left,
Character addedChar) |
protected static boolean |
doHasKeyword(boolean all,
boolean ignoreCase,
Srl.KeywordType type,
String keyword,
String... strs) |
protected static boolean |
doHasKeywordAll(boolean ignoreCase,
String keyword,
String... strs) |
protected static boolean |
doHasKeywordAny(boolean ignoreCase,
String keyword,
String... strs) |
protected static boolean |
doHasPrefixAll(boolean ignoreCase,
String prefix,
String... strs) |
protected static boolean |
doHasPrefixAny(boolean ignoreCase,
String prefix,
String... strs) |
protected static boolean |
doHasSuffixAll(boolean ignoreCase,
String suffix,
String... strs) |
protected static boolean |
doHasSuffixAny(boolean ignoreCase,
String suffix,
String... strs) |
protected static Srl.IndexOfInfo |
doIndexOf(boolean ignoreCase,
boolean last,
String str,
String... delimiters) |
protected static Srl.IndexOfInfo |
doIndexOfFirst(boolean ignoreCase,
String str,
String... delimiters) |
protected static Srl.IndexOfInfo |
doIndexOfLast(boolean ignoreCase,
String str,
String... delimiters) |
protected static String |
doLTrim(String str,
String trimStr) |
protected static String |
doRTrim(String str,
String trimStr) |
protected static List<String> |
doSplitList(String str,
String delimiter,
boolean trim) |
protected static boolean |
doStartsWith(boolean ignoreCase,
String str,
String... prefixes) |
protected static String |
doSubstringFirstRear(boolean last,
boolean rear,
boolean ignoreCase,
String str,
String... delimiters) |
protected static String |
doTrim(String str,
String trimStr) |
static boolean |
endsWith(String str,
String... suffixes) |
static boolean |
endsWithIgnoreCase(String str,
String... suffixes) |
static boolean |
equalsFlexible(String str1,
String... strs) |
static boolean |
equalsFlexibleTrimmed(String str1,
String... strs) |
static boolean |
equalsIgnoreCase(String str1,
String... strs) |
static boolean |
equalsPlain(String str1,
String... strs) |
static List<Srl.DelimiterInfo> |
extractDelimiterList(String str,
String delimiter) |
static Srl.ScopeInfo |
extractScopeFirst(String str,
String beginMark,
String endMark) |
static Srl.ScopeInfo |
extractScopeLast(String str,
String beginMark,
String endMark) |
static List<Srl.ScopeInfo> |
extractScopeList(String str,
String beginMark,
String endMark) |
static Srl.ScopeInfo |
extractScopeWide(String str,
String beginMark,
String endMark) |
static String |
frontstring(String str,
int index)
Extract front sub-string by index.
|
static boolean |
hasKeywordAll(String keyword,
String... strs) |
static boolean |
hasKeywordAllIgnoreCase(String keyword,
String... strs) |
static boolean |
hasKeywordAny(String keyword,
String... strs) |
static boolean |
hasKeywordAnyIgnoreCase(String keyword,
String... strs) |
static boolean |
hasPrefixAll(String prefix,
String... strs) |
static boolean |
hasPrefixAllIgnoreCase(String prefix,
String... strs) |
static boolean |
hasPrefixAny(String prefix,
String... strs) |
static boolean |
hasPrefixAnyIgnoreCase(String prefix,
String... strs) |
static boolean |
hasSuffixAll(String suffix,
String... strs) |
static boolean |
hasSuffixAllIgnoreCase(String suffix,
String... strs) |
static boolean |
hasSuffixAny(String suffix,
String... strs) |
static boolean |
hasSuffixAnyIgnoreCase(String suffix,
String... strs) |
static String |
indent(int size) |
static String |
indent(int size,
String str) |
static Srl.IndexOfInfo |
indexOfFirst(String str,
String... delimiters)
Get the index of the first-found delimiter.
|
static Srl.IndexOfInfo |
indexOfFirstIgnoreCase(String str,
String... delimiters)
Get the index of the first-found delimiter ignoring case.
|
static Srl.IndexOfInfo |
indexOfLast(String str,
String... delimiters)
Get the index of the last-found delimiter.
|
static Srl.IndexOfInfo |
indexOfLastIgnoreCase(String str,
String... delimiters)
Get the index of the last-found delimiter ignoring case.
|
static String |
initBeansProp(String capitalizedName)
Adjust initial character(s) as beans property.
|
static String |
initCap(String str) |
static String |
initCapTrimmed(String str) |
static String |
initUncap(String str) |
static String |
initUncapTrimmed(String str) |
static boolean |
is_NotNull_and_NotEmpty(String str)
Is the string not null and not empty string?
|
static boolean |
is_NotNull_and_NotTrimmedEmpty(String str)
Is the string not null and not trimmed-empty string?
|
static boolean |
is_Null_or_Empty(String str)
Is the string null or empty string?
|
static boolean |
is_Null_or_TrimmedEmpty(String str)
Is the string null or trimmed-empty string?
|
static boolean |
isAlphabetHarfAll(String str) |
static boolean |
isAlphabetHarfLowerAll(String str) |
static boolean |
isAlphabetHarfUpperAll(String str) |
static boolean |
isAlphabetNumberHarfAll(String str) |
static boolean |
isAlphabetNumberHarfAllOr(String str,
Character... addedChars) |
static boolean |
isAlphabetNumberHarfLowerAll(String str) |
static boolean |
isAlphabetNumberHarfUpperAll(String str) |
protected static boolean |
isAnyCharAll(String str,
Set<Character> charSet) |
static boolean |
isEmpty(String str)
Is the string empty string?
|
static boolean |
isInitLowerCase(String str) |
static boolean |
isInitTwoLowerCase(String str) |
static boolean |
isInitTwoUpperCase(String str) |
static boolean |
isInitUpperCase(String str) |
protected static boolean |
isLowerCase(char ch) |
protected static boolean |
isLowerCase(char ch1,
char ch2) |
static boolean |
isLowerCaseAll(String str) |
static boolean |
isLowerCaseAny(String str) |
static boolean |
isNumberHarfAll(String str) |
static boolean |
isQuotedAnything(String str,
String quotation) |
static boolean |
isQuotedAnything(String str,
String beginMark,
String endMark) |
static boolean |
isQuotedDouble(String str) |
static boolean |
isQuotedSingle(String str) |
static boolean |
isTrimmedEmpty(String str)
Is the string trimmed-empty string?
|
protected static boolean |
isUpperCase(char ch) |
protected static boolean |
isUpperCase(char ch1,
char ch2) |
static boolean |
isUpperCaseAll(String str) |
static boolean |
isUpperCaseAny(String str) |
static int |
length(String str) |
static String |
lfill(String str,
int size) |
static String |
lfill(String str,
int size,
Character addedChar) |
static String |
ltrim(String str) |
static String |
ltrim(String str,
String trimStr) |
static String |
quoteAnything(String str,
String quotation) |
static String |
quoteAnything(String str,
String beginMark,
String endMark) |
static String |
quoteDouble(String str) |
static String |
quoteSingle(String str) |
static String |
rearstring(String str,
int reverseIndex)
Extract rear sub-string by reverse index.
|
static String |
removeBlockComment(String sql)
Remove block comments.
|
protected static String |
removeCR(String str) |
static String |
removeEmptyLine(String str)
Remove empty lines.
|
static String |
removeLineComment(String sql)
Remove line comments.
|
static String |
removePrefix(String str,
String prefix) |
static String |
removePrefixIgnoreCase(String str,
String prefix) |
static String |
removeScope(String str,
String beginMark,
String endMark) |
static String |
removeSuffix(String str,
String suffix) |
static String |
removeSuffixIgnoreCase(String str,
String suffix) |
static String |
replace(String str,
String fromStr,
String toStr) |
static String |
replaceBy(String str,
Map<String,String> fromToMap) |
static String |
replaceScopeContent(String str,
String fromStr,
String toStr,
String beginMark,
String endMark) |
static String |
replaceScopeInterspace(String str,
String fromStr,
String toStr,
String beginMark,
String endMark) |
static String |
rfill(String str,
int size) |
static String |
rfill(String str,
int size,
Character addedChar) |
static String |
rtrim(String str) |
static String |
rtrim(String str,
String trimStr) |
static List<String> |
splitList(String str,
String delimiter) |
static List<String> |
splitListTrimmed(String str,
String delimiter) |
static boolean |
startsWith(String str,
String... prefixes) |
static boolean |
startsWithIgnoreCase(String str,
String... prefixes) |
static String |
substring(String str,
int beginIndex)
Extract sub-string by begin index.
|
static String |
substring(String str,
int beginIndex,
int endIndex)
Extract sub-string by begin and end index.
|
static String |
substringFirstFront(String str,
String... delimiters)
Extract front sub-string from first-found delimiter.
|
static String |
substringFirstFrontIgnoreCase(String str,
String... delimiters)
Extract front sub-string from first-found delimiter ignoring case.
|
static String |
substringFirstRear(String str,
String... delimiters)
Extract rear sub-string from first-found delimiter.
|
static String |
substringFirstRearIgnoreCase(String str,
String... delimiters)
Extract rear sub-string from first-found delimiter ignoring case.
|
static String |
substringLastFront(String str,
String... delimiters)
Extract front sub-string from last-found delimiter.
|
static String |
substringLastFrontIgnoreCase(String str,
String... delimiters)
Extract front sub-string from last-found delimiter ignoring case.
|
static String |
substringLastRear(String str,
String... delimiters)
Extract rear sub-string from last-found delimiter.
|
static String |
substringLastRearIgnoreCase(String str,
String... delimiters)
Extract rear sub-string from last-found delimiter ignoring case.
|
static String |
toLowerCase(String str) |
static String |
toUpperCase(String str) |
static String |
trim(String str) |
static String |
trim(String str,
String trimStr) |
static String |
unquoteAnything(String str,
String quotation) |
static String |
unquoteAnything(String str,
String beginMark,
String endMark) |
static String |
unquoteDouble(String str) |
static String |
unquoteSingle(String str) |
protected static final Set<Character> _alphabetNumberHarfLowerCharSet
public static boolean is_Null_or_Empty(String str)
str - A judged string. (NullAllowed)public static boolean is_Null_or_TrimmedEmpty(String str)
str - A judged string. (NullAllowed)public static boolean is_NotNull_and_NotEmpty(String str)
str - A judged string. (NullAllowed)public static boolean is_NotNull_and_NotTrimmedEmpty(String str)
str - A judged string. (NullAllowed)public static boolean isEmpty(String str)
str - A judged string. (NullAllowed)public static boolean isTrimmedEmpty(String str)
str - A judged string. (NullAllowed)public static int length(String str)
public static String replaceScopeContent(String str, String fromStr, String toStr, String beginMark, String endMark)
public static String replaceScopeInterspace(String str, String fromStr, String toStr, String beginMark, String endMark)
public static List<String> splitList(String str, String delimiter)
str - The split target string. (NotNull)delimiter - The delimiter for split. (NotNull)public static List<String> splitListTrimmed(String str, String delimiter)
str - The split target string. (NotNull)delimiter - The delimiter for split. (NotNull)public static Srl.IndexOfInfo indexOfFirst(String str, String... delimiters)
indexOfFirst("foo.bar/baz.qux", ".", "/")
returns the index of ".bar"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)public static Srl.IndexOfInfo indexOfFirstIgnoreCase(String str, String... delimiters)
indexOfFirst("foo.bar/baz.qux", "A", "U")
returns the index of "ar/baz..."
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)protected static Srl.IndexOfInfo doIndexOfFirst(boolean ignoreCase, String str, String... delimiters)
public static Srl.IndexOfInfo indexOfLast(String str, String... delimiters)
indexOfLast("foo.bar/baz.qux", ".", "/")
returns the index of ".qux"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)public static Srl.IndexOfInfo indexOfLastIgnoreCase(String str, String... delimiters)
indexOfLast("foo.bar/baz.qux", "A", "U")
returns the index of "ux"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)protected static Srl.IndexOfInfo doIndexOfLast(boolean ignoreCase, String str, String... delimiters)
protected static Srl.IndexOfInfo doIndexOf(boolean ignoreCase, boolean last, String str, String... delimiters)
public static String substring(String str, int beginIndex)
substring("flute", 2)
returns "ute"
str - The target string. (NotNull)beginIndex - The from-index.public static String substring(String str, int beginIndex, int endIndex)
substring("flute", 1, 3)
returns "lu"
str - The target string. (NotNull)beginIndex - The from-index.endIndex - The to-index.public static String frontstring(String str, int index)
rearstring("flute", 2)
returns "fl"
str - The target string. (NotNull)index - The index from rear.public static String rearstring(String str, int reverseIndex)
rearstring("flute", 2)
returns "te"
str - The target string. (NotNull)reverseIndex - The index from rear.public static String substringFirstFront(String str, String... delimiters)
substringFirstFront("foo.bar/baz.qux", ".", "/")
returns "foo"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)public static String substringFirstFrontIgnoreCase(String str, String... delimiters)
substringFirstFront("foo.bar/baz.qux", "A", "U")
returns "foo.b"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)public static String substringFirstRear(String str, String... delimiters)
substringFirstRear("foo.bar/baz.qux", ".", "/")
returns "bar/baz.qux"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)public static String substringFirstRearIgnoreCase(String str, String... delimiters)
substringFirstRear("foo.bar/baz.qux", "A", "U")
returns "ar/baz.qux"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)public static String substringLastFront(String str, String... delimiters)
substringLastFront("foo.bar/baz.qux", ".", "/")
returns "foo.bar/baz"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)public static String substringLastFrontIgnoreCase(String str, String... delimiters)
substringLastFront("foo.bar/baz.qux", "A", "U")
returns "foo.bar/baz.q"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)public static String substringLastRear(String str, String... delimiters)
substringLastRear("foo.bar/baz.qux", ".", "/")
returns "qux"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)public static String substringLastRearIgnoreCase(String str, String... delimiters)
substringLastRear("foo.bar/baz.qux", "A", "U")
returns "x"
str - The target string. (NotNull)delimiters - The array of delimiters. (NotNull)protected static final String doSubstringFirstRear(boolean last, boolean rear, boolean ignoreCase, String str, String... delimiters)
protected static boolean doContainsAll(boolean ignoreCase,
String str,
String... keywords)
protected static boolean doContainsAny(boolean ignoreCase,
String str,
String... keywords)
public static boolean containsOrderedAllIgnoreCase(String str, String... keywords)
protected static boolean doContainsOrderedAll(boolean ignoreCase,
String str,
String... keywords)
public static boolean containsElement(Collection<String> strList, String element)
public static boolean containsElementIgnoreCase(Collection<String> strList, String element)
public static boolean containsElementAll(Collection<String> strList, String... elements)
public static boolean containsElementAllIgnoreCase(Collection<String> strList, String... elements)
protected static boolean doContainsElementAll(boolean ignoreCase,
Collection<String> strList,
String... elements)
public static boolean containsElementAny(Collection<String> strList, String... elements)
public static boolean containsElementAnyIgnoreCase(Collection<String> strList, String... elements)
protected static boolean doContainsElementAny(boolean ignoreCase,
Collection<String> strList,
String... elements)
protected static boolean doContainsElement(boolean all,
boolean ignoreCase,
Srl.ListElementContainsType type,
Collection<String> strList,
String... elements)
public static boolean containsKeyword(Collection<String> strList, String keyword)
public static boolean containsKeywordIgnoreCase(Collection<String> strList, String keyword)
public static boolean containsKeywordAll(Collection<String> strList, String... keywords)
public static boolean containsKeywordAllIgnoreCase(Collection<String> strList, String... keywords)
protected static boolean doContainsKeywordAll(boolean ignoreCase,
Collection<String> strList,
String... keywords)
public static boolean containsKeywordAny(Collection<String> strList, String... keywords)
public static boolean containsKeywordAnyIgnoreCase(Collection<String> strList, String... keywords)
protected static boolean doContainsKeywordAny(boolean ignoreCase,
Collection<String> strList,
String... keywords)
public static boolean containsPrefix(Collection<String> strList, String prefix)
public static boolean containsPrefixIgnoreCase(Collection<String> strList, String prefix)
public static boolean containsPrefixAll(Collection<String> strList, String... prefixes)
public static boolean containsPrefixAllIgnoreCase(Collection<String> strList, String... prefixes)
protected static boolean doContainsPrefixAll(boolean ignoreCase,
Collection<String> strList,
String... prefixes)
public static boolean containsPrefixAny(Collection<String> strList, String... prefixes)
public static boolean containsPrefixAnyIgnoreCase(Collection<String> strList, String... prefixes)
protected static boolean doContainsPrefixAny(boolean ignoreCase,
Collection<String> strList,
String... prefixes)
public static boolean containsSuffix(Collection<String> strList, String suffix)
public static boolean containsSuffixIgnoreCase(Collection<String> strList, String suffix)
public static boolean containsSuffixAll(Collection<String> strList, String... suffixes)
public static boolean containsSuffixAllIgnoreCase(Collection<String> strList, String... suffixes)
protected static boolean doContainsSuffixAll(boolean ignoreCase,
Collection<String> strList,
String... suffixes)
public static boolean containsSuffixAny(Collection<String> strList, String... suffixes)
public static boolean containsSuffixAnyIgnoreCase(Collection<String> strList, String... suffixes)
protected static boolean doContainsSuffixAny(boolean ignoreCase,
Collection<String> strList,
String... suffixes)
public static final boolean startsWithIgnoreCase(String str, String... prefixes)
protected static final boolean doStartsWith(boolean ignoreCase,
String str,
String... prefixes)
protected static final boolean doEndsWith(boolean ignoreCase,
String str,
String... suffixes)
public static final boolean hasKeywordAllIgnoreCase(String keyword, String... strs)
protected static final boolean doHasKeywordAll(boolean ignoreCase,
String keyword,
String... strs)
public static final boolean hasKeywordAnyIgnoreCase(String keyword, String... strs)
protected static final boolean doHasKeywordAny(boolean ignoreCase,
String keyword,
String... strs)
protected static final boolean doHasKeyword(boolean all,
boolean ignoreCase,
Srl.KeywordType type,
String keyword,
String... strs)
public static final boolean hasPrefixAllIgnoreCase(String prefix, String... strs)
protected static final boolean doHasPrefixAll(boolean ignoreCase,
String prefix,
String... strs)
public static final boolean hasPrefixAnyIgnoreCase(String prefix, String... strs)
protected static final boolean doHasPrefixAny(boolean ignoreCase,
String prefix,
String... strs)
public static final boolean hasSuffixAllIgnoreCase(String suffix, String... strs)
protected static final boolean doHasSuffixAll(boolean ignoreCase,
String suffix,
String... strs)
public static final boolean hasSuffixAnyIgnoreCase(String suffix, String... strs)
protected static final boolean doHasSuffixAny(boolean ignoreCase,
String suffix,
String... strs)
public static String connectByDelimiter(Collection<String> strList, String delimiter)
public static String connectByDelimiterQuoted(Collection<String> strList, String delimiter, String quotation)
protected static String doConnectByDelimiter(Collection<String> strList, String delimiter, String quotation)
public static boolean isQuotedAnything(String str, String beginMark, String endMark)
public static boolean isQuotedDouble(String str)
public static boolean isQuotedSingle(String str)
public static final List<Srl.DelimiterInfo> extractDelimiterList(String str, String delimiter)
public static <ELEMENT> String delimit(Collection<ELEMENT> list, Function<ELEMENT,String> oneArgInLambda, String delimiter)
public static final Srl.ScopeInfo extractScopeFirst(String str, String beginMark, String endMark)
public static final Srl.ScopeInfo extractScopeLast(String str, String beginMark, String endMark)
public static final List<Srl.ScopeInfo> extractScopeList(String str, String beginMark, String endMark)
protected static final List<Srl.ScopeInfo> doExtractScopeList(String str, String beginMark, String endMark, boolean firstOnly)
public static final Srl.ScopeInfo extractScopeWide(String str, String beginMark, String endMark)
public static String initBeansProp(String capitalizedName)
capitalizedName - The capitalized name for beans property. (NotNull)public static boolean isInitLowerCase(String str)
public static boolean isInitTwoLowerCase(String str)
public static boolean isInitUpperCase(String str)
public static boolean isInitTwoUpperCase(String str)
public static String removeEmptyLine(String str)
str - The target string. (NotNull)public static String removeBlockComment(String sql)
sql - The string of SQL. (NotNull)public static String removeLineComment(String sql)
sql - The string of SQL. (NotNull)public static String indent(int size)
public static boolean isAlphabetHarfAll(String str)
public static boolean isAlphabetHarfLowerAll(String str)
public static boolean isAlphabetHarfUpperAll(String str)
public static boolean isNumberHarfAll(String str)
public static boolean isAlphabetNumberHarfAll(String str)
public static boolean isAlphabetNumberHarfAllOr(String str, Character... addedChars)
public static boolean isAlphabetNumberHarfLowerAll(String str)
public static boolean isAlphabetNumberHarfUpperAll(String str)
protected static boolean isLowerCase(char ch)
protected static boolean isLowerCase(char ch1,
char ch2)
public static boolean isLowerCaseAll(String str)
public static boolean isLowerCaseAny(String str)
protected static boolean isUpperCase(char ch)
protected static boolean isUpperCase(char ch1,
char ch2)
public static boolean isUpperCaseAll(String str)
public static boolean isUpperCaseAny(String str)
protected static void assertStringNotNull(String str)
protected static void assertStringListNotNull(Collection<String> strList)
protected static void assertElementNotNull(String element)
protected static void assertElementVaryingNotNull(String[] elements)
protected static void assertKeywordNotNull(String keyword)
protected static void assertKeywordVaryingNotNull(String[] keywords)
protected static void assertPrefixNotNull(String prefix)
protected static void assertSuffixNotNull(String suffix)
protected static void assertDelimiterNotNull(String delimiter)
protected static void assertFromStringNotNull(String fromStr)
protected static void assertToStringNotNull(String toStr)
protected static void assertQuotationNotNull(String quotation)
protected static void assertBeginMarkNotNull(String beginMark)
protected static void assertEndMarkNotNull(String endMark)
protected static void assertDecamelNameNotNull(String decamelName)
protected static void assertCamelNameNotNull(String camelName)
protected static void assertSqlNotNull(String sql)
protected static void assertObjectNotNull(String variableName, Object value)
variableName - The check name of variable for message. (NotNull)value - The checked value. (NotNull)IllegalArgumentException - When the argument is null.Copyright © 2014–2015 The DBFlute Project. All rights reserved.