|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectnet.hizlab.kagetaka.util.StringUtils
文字列に対する操作を行うクラスです。
| メソッドの概要 | |
static String |
getFile(String path)
URL 形式のパスからファイル名を抜き出します。 |
static String |
getFile(URL url)
URL からファイル名を抜き出します。 |
static String |
replace(String value,
String oldString,
String newString)
この文字列を文字列で置き換えます。 |
static URL |
toURL(String text)
指定した文字列を URL に変換します。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| メソッドの詳細 |
public static String getFile(String path)
path - URL 形式のパス(相対パスも可)
public static String getFile(URL url)
url - URL
public static String replace(String value,
String oldString,
String newString)
value - 変換する対象の文字列oldString - 以前の文字列newString - 新しい文字列
public static URL toURL(String text)
throws MalformedURLException
text - 文字列
null
MalformedURLException - URL に変換できなかった場合
|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright (c) 2002-2003 The Kagetaka Project 'September 12, 2003'