|
Japanese Utils 0.0.1 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sourceforge.tsukuyomi.japanese.WidthUtil
public final class WidthUtil
全角半角変換を行うユーティリティ・クラスです。
メソッドの概要 | |
---|---|
static String |
toFullWidth(String src)
半角カタカナと ASCII 文字を全角に変換します。 |
static String |
toFullWidthAscii(String src)
空白を除く ASCII 文字を全角に変換します。 |
static String |
toFullWidthKana(String src)
半角カタカナを全角カタカナに変換します。 |
static String |
toHalfWidth(String src)
全角カタカナと字種が ASCII 文字に対応する全角文字を半角に変換します。 |
static String |
toHalfWidthAscii(String src)
字種が空白を除く ASCII 文字に対応する全角文字を半角に変換します。 |
static String |
toHalfWidthKana(String src)
全角カタカナを半角カタカナに変換します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public static String toHalfWidth(String src)
src
- 変換対象の文字列
public static String toHalfWidthAscii(String src)
src
- 変換対象の文字列
public static String toHalfWidthKana(String src)
src
- 変換対象の文字列
public static String toFullWidth(String src)
src
- 変換対象の文字列
public static String toFullWidthAscii(String src)
src
- 変換対象の文字列
public static String toFullWidthKana(String src)
src
- 変換対象の文字列
|
Japanese Utils 0.0.1 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |