|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.cubby.internal.util.StringUtils
public class StringUtils
文字列操作を行うためのユーティリティクラスです。
| コンストラクタの概要 | |
|---|---|
StringUtils()
|
|
| メソッドの概要 | |
|---|---|
static boolean |
equalsIgnoreCase(String target1,
String target2)
ケースインセンシティブで文字列同士が等しいかどうか返します。 |
static boolean |
isBlank(String str)
ブランクかどうか返します。 |
static boolean |
isEmpty(String text)
空かどうかを返します。 |
static boolean |
isNotBlank(String str)
ブランクではないかどうか返します。 |
static String |
replace(String text,
String fromText,
String toText)
文字列を置き換えます。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public StringUtils()
| メソッドの詳細 |
|---|
public static final boolean isEmpty(String text)
text - 文字列
public static boolean equalsIgnoreCase(String target1,
String target2)
trueを返します。
target1 - 文字列1target2 - 文字列2
public static boolean isBlank(String str)
str - 文字列
public static boolean isNotBlank(String str)
str - 文字列
isBlank(String)
public static final String replace(String text,
String fromText,
String toText)
text - テキストfromText - 置き換え対象のテキストtoText - 置き換えるテキスト
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||