public class Tokenizer extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static int |
TT_EOF
EOFをあらわします。
|
static int |
TT_QUOTE
Quoteをあらわします。
|
static int |
TT_WORD
単語をあらわします。
|
| コンストラクタと説明 |
|---|
Tokenizer(String str)
Tokenizerを作成します。 |
Tokenizer(String str,
byte[] ctype)
Tokenizerを作成します。 |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getReadString()
既に読み込んだ文字列を返します。
|
String |
getStringValue()
文字列の値を返します。
|
int |
nextToken()
次のトークンに進めます。
|
protected static void |
ordinaryChar(byte[] ctype2,
int ch)
単独で存在する文字として設定します。
|
protected static void |
setup(byte[] ctype2) |
protected static void |
whitespaceChars(byte[] ctype2,
int low,
int hi)
空白用の文字として設定します。
|
protected static void |
wordChar(byte[] ctype2,
int val)
単語用の文字として設定します。
|
protected static void |
wordChars(byte[] ctype2,
int low,
int hi)
単語用の文字として設定します。
|
public static final int TT_EOF
public static final int TT_QUOTE
public static final int TT_WORD
protected static void setup(byte[] ctype2)
ctype2 - 文字のタイプの配列protected static void wordChars(byte[] ctype2,
int low,
int hi)
ctype2 - 文字のタイプの配列low - hi - protected static void wordChar(byte[] ctype2,
int val)
ctype2 - 文字のタイプの配列val - 文字コードprotected static void whitespaceChars(byte[] ctype2,
int low,
int hi)
ctype2 - 文字のタイプの配列low - 最小の文字コードhi - 最大の文字コードprotected static void ordinaryChar(byte[] ctype2,
int ch)
ctype2 - 文字のタイプの配列ch - 文字コードpublic final String getStringValue()
public int nextToken()
public final String getReadString()
Copyright © 2015 The DBFlute Project. All rights reserved.