|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectjp.sourceforge.gtibuilder.util.TextBuffer
テキストを操作するクラスです。
| コンストラクタの概要 | |
private |
TextBuffer()
このクラスのインスタンスは作成できません。 |
| メソッドの概要 | |
static String[] |
cutString(String text,
String mark)
textをmarkで分割します |
static String |
replace(String text,
int start,
int end,
String str)
textのstartからendまでをstrで置き換えます。 |
static String |
replace(String text,
String before,
String after)
textに含まれるすべてのbeforeをafterで置き換えます。 |
static int[] |
searchTextAll(String text,
String find)
text |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
private TextBuffer()
| メソッドの詳細 |
public static String[] cutString(String text,
String mark)
textをmarkで分割します
public static int[] searchTextAll(String text,
String find)
textの中からfindをすべて検索します
public static String replace(String text,
String before,
String after)
textに含まれるすべてのbeforeをafterで置き換えます。
public static String replace(String text,
int start,
int end,
String str)
textのstartからendまでをstrで置き換えます。
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||