|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||
java.lang.Objectjp.hishidama.util.CharUtil
public class CharUtil
| コンストラクタの概要 | |
|---|---|
CharUtil()
|
|
| メソッドの概要 | |
|---|---|
static char |
escapeChar(String str,
int pos,
int end_pos,
int[] ret)
エスケープ解釈後文字取得. |
static String |
escapeString(String str)
エスケープ解釈. |
static String |
escapeString(String str,
int pos,
int len)
エスケープ解釈. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public CharUtil()
| メソッドの詳細 |
|---|
public static String escapeString(String str)
エスケープ文字「\」を解釈した文字列を返す。
str - 文字列
public static String escapeString(String str,
int pos,
int len)
エスケープ文字「\」を解釈した文字列を返す。
str - 文字列pos - 開始位置len - 処理する長さ
public static char escapeChar(String str,
int pos,
int end_pos,
int[] ret)
文字列中の文字を返す。「\」があれば、エスケープ文字を解釈した文字を返す。
str - 文字列pos - 解釈位置end_pos - 解釈終了位置(この位置にある文字は解釈対象外)ret - ret[0]:使用した長さ
|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||