Java:後方一致で文字を検索する。 大文字小文字無視。(StringUtils)

StringUtils.endsWithIgnoreCaseを使用する。

 /**
  * 後方一致で文字を検索します。 大文字小文字無視。
  *
  * @param subject
  *            検索対象
  * @param suffix
  *            検索する文字
  * @return boolean
  */
 public static boolean strEndsWithIgnoreCase(String subject, String suffix) {
  return StringUtils.endsWithIgnoreCase(subject, suffix);
 }