|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objecttsukuba_bunko.text.StringUtil
public final class StringUtil
基本的な文字列操作のためのユーティリティクラスです。
コンストラクタの概要 | |
---|---|
StringUtil()
|
メソッドの概要 | |
---|---|
static java.lang.String |
trimString(java.lang.String text,
boolean voidToNull)
文字列の前後の不要な空白を除去します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public StringUtil()
メソッドの詳細 |
---|
public static java.lang.String trimString(java.lang.String text, boolean voidToNull)
text
- 処理対象の文字列voidToNull
- true
の場合、処理結果が空文字列の場合に null
を返し、それ以外の場合、そのまま処理結果を返す。
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |