List of usage examples for org.apache.commons.lang3 StringUtils appendIfMissingIgnoreCase
public static String appendIfMissingIgnoreCase(final String str, final CharSequence suffix, final CharSequence... suffixes)
From source file:kenh.expl.functions.AppendIfMissing.java
public String process(String str, String suffix, String[] suffixes, boolean ignoreCase) { if (ignoreCase) return StringUtils.appendIfMissingIgnoreCase(str, suffix, suffixes); else/*from w ww . ja v a2 s .c o m*/ return StringUtils.appendIfMissing(str, suffix, suffixes); }
From source file:kenh.expl.functions.AppendIfMissing.java
public String process(String str, String suffix, String suffixes, boolean ignoreCase) { if (ignoreCase) return StringUtils.appendIfMissingIgnoreCase(str, suffix, suffixes); else//from ww w . j a v a2 s . c o m return StringUtils.appendIfMissing(str, suffix, suffixes); }