public static class HeaderTokenizer.Token extends ObjectSE
修飾子と型 | フィールドと説明 |
---|---|
static int | ATOM ATOM を示すトークン型。 |
static int | COMMENT コメントを示すトークン型。 |
static int | EOF 入力の終わりを示すトークン型。 |
static int | QUOTEDSTRING 引用符で囲まれた文字列を示すトークン型。 |
修飾子と型 | メソッドと説明 |
---|---|
int | getType() トークンの型を返します。 |
StringSE | getValue() 読み取ったばかりのトークンの値を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static final int ATOM
public static final int QUOTEDSTRING
public static final int COMMENT
public static final int EOF
public Token(int type, StringSE value)
type
- トークン型 value
- トークン値 public int getType()
ATOM
SPACE、CTL、"("、<">、指定された SPECIALS のいずれかで区切られた ASCII 文字のシーケンス QUOTEDSTRING
引用符で囲まれた ASCII 文字のシーケンス COMMENT
「(」および「)」内の ASCII 文字のシーケンス。EOF
ヘッダーの終わり public StringSE getValue()
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.