クラス SimpleCharStream
java.lang.ObjectSE
org.springframework.ldap.core.SimpleCharStream
インターフェース CharStream の実装。ストリームには ASCII 文字のみ (Unicode 処理なし) が含まれると見なされます。
フィールドのサマリー
フィールド修飾子と型フィールド説明protected int[]protected char[]protected int[]intバッファ内の位置。protected intprotected intprotected ReaderSEprotected intprotected intprotected booleanprotected booleanstatic final booleanパーサーが静的かどうか。protected intコンストラクターの概要
コンストラクターコンストラクター説明SimpleCharStream(InputStreamSE dstream) コンストラクター。SimpleCharStream(InputStreamSE dstream, int startline, int startcolumn) コンストラクター。SimpleCharStream(InputStreamSE dstream, int startline, int startcolumn, int buffersize) コンストラクター。SimpleCharStream(InputStreamSE dstream, StringSE encoding) コンストラクター。SimpleCharStream(InputStreamSE dstream, StringSE encoding, int startline, int startcolumn) コンストラクター。SimpleCharStream(InputStreamSE dstream, StringSE encoding, int startline, int startcolumn, int buffersize) コンストラクター。SimpleCharStream(ReaderSE dstream) コンストラクター。SimpleCharStream(ReaderSE dstream, int startline, int startcolumn) コンストラクター。SimpleCharStream(ReaderSE dstream, int startline, int startcolumn, int buffersize) コンストラクター。方法の概要
修飾子と型メソッド説明voidadjustBeginLineColumn(int newLine, int newCol) トークンの開始の行番号と列番号を調整するメソッド。voidbackup(int amount) キャラクター数をバックアップします。char開始。voidDone()終了したらバッファをリセットします。protected voidExpandBuff(boolean wrapAround) protected voidFillBuff()intトークンの開始列番号を取得します。intトークンの開始行番号を取得します。int使用すべきではありません。intトークンの終了列番号を取得します。intトークンの終了行番号を取得します。GetImage()トークンのリテラル値を取得します。intgetLine()使用すべきではありません。char[]GetSuffix(int len) サフィックスを取得します。protected intgetTabSize(int i) charreadChar()文字を読みます。voidReInit(InputStreamSE dstream) 再初期化します。voidReInit(InputStreamSE dstream, int startline, int startcolumn) 再初期化します。voidReInit(InputStreamSE dstream, int startline, int startcolumn, int buffersize) 再初期化します。voidReInit(InputStreamSE dstream, StringSE encoding) 再初期化します。voidReInit(InputStreamSE dstream, StringSE encoding, int startline, int startcolumn) 再初期化します。voidReInit(InputStreamSE dstream, StringSE encoding, int startline, int startcolumn, int buffersize) 再初期化します。void再初期化します。void再初期化します。void再初期化します。protected voidsetTabSize(int i) protected voidUpdateLineColumn(char c)
フィールドの詳細
staticFlag
public static final boolean staticFlagパーサーが静的かどうか。- 関連事項:
bufpos
public int bufposバッファ内の位置。bufline
protected int[] buflinebufcolumn
protected int[] bufcolumncolumn
protected int columnline
protected int lineprevCharIsCR
protected boolean prevCharIsCRprevCharIsLF
protected boolean prevCharIsLFinputStream
buffer
protected char[] buffermaxNextCharInd
protected int maxNextCharIndinBuf
protected int inBuftabSize
protected int tabSize
コンストラクターの詳細
SimpleCharStream
コンストラクター。SimpleCharStream
コンストラクター。SimpleCharStream
コンストラクター。SimpleCharStream
public SimpleCharStream(InputStreamSE dstream, StringSE encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingExceptionSE コンストラクター。SimpleCharStream
コンストラクター。SimpleCharStream
public SimpleCharStream(InputStreamSE dstream, StringSE encoding, int startline, int startcolumn) throws UnsupportedEncodingExceptionSE コンストラクター。SimpleCharStream
コンストラクター。SimpleCharStream
public SimpleCharStream(InputStreamSE dstream, StringSE encoding) throws UnsupportedEncodingExceptionSE コンストラクター。SimpleCharStream
コンストラクター。
メソッドの詳細
setTabSize
protected void setTabSize(int i) getTabSize
protected int getTabSize(int i) ExpandBuff
protected void ExpandBuff(boolean wrapAround) FillBuff
BeginToken
開始。UpdateLineColumn
protected void UpdateLineColumn(char c) readChar
文字を読みます。getColumn
public int getColumn()使用すべきではありません。- 関連事項:
getLine
public int getLine()使用すべきではありません。- 関連事項:
getEndColumn
public int getEndColumn()トークンの終了列番号を取得します。getEndLine
public int getEndLine()トークンの終了行番号を取得します。getBeginColumn
public int getBeginColumn()トークンの開始列番号を取得します。getBeginLine
public int getBeginLine()トークンの開始行番号を取得します。backup
public void backup(int amount) キャラクター数をバックアップします。ReInit
再初期化します。ReInit
再初期化します。ReInit
再初期化します。ReInit
public void ReInit(InputStreamSE dstream, StringSE encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingExceptionSE 再初期化します。ReInit
再初期化します。ReInit
再初期化します。ReInit
再初期化します。ReInit
public void ReInit(InputStreamSE dstream, StringSE encoding, int startline, int startcolumn) throws UnsupportedEncodingExceptionSE 再初期化します。ReInit
再初期化します。GetImage
トークンのリテラル値を取得します。GetSuffix
public char[] GetSuffix(int len) サフィックスを取得します。Done
public void Done()終了したらバッファをリセットします。adjustBeginLineColumn
public void adjustBeginLineColumn(int newLine, int newCol) トークンの開始の行番号と列番号を調整するメソッド。