クラス SimpleCharStream

java.lang.ObjectSE
org.springframework.ldap.core.SimpleCharStream

public class SimpleCharStream extends ObjectSE
インターフェース CharStream の実装。ストリームには ASCII 文字のみ (Unicode 処理なし) が含まれると見なされます。
  • フィールドの詳細

    • staticFlag

      public static final boolean staticFlag
      パーサーが静的かどうか。
      関連事項:
    • bufpos

      public int bufpos
      バッファ内の位置。
    • bufline

      protected int[] bufline
    • bufcolumn

      protected int[] bufcolumn
    • column

      protected int column
    • line

      protected int line
    • prevCharIsCR

      protected boolean prevCharIsCR
    • prevCharIsLF

      protected boolean prevCharIsLF
    • inputStream

      protected ReaderSE inputStream
    • buffer

      protected char[] buffer
    • maxNextCharInd

      protected int maxNextCharInd
    • inBuf

      protected int inBuf
    • tabSize

      protected int tabSize
  • コンストラクターの詳細

  • メソッドの詳細

    • setTabSize

      protected void setTabSize(int i)
    • getTabSize

      protected int getTabSize(int i)
    • ExpandBuff

      protected void ExpandBuff(boolean wrapAround)
    • FillBuff

      protected void FillBuff() throws IOExceptionSE
      例外:
      IOExceptionSE
    • BeginToken

      public char BeginToken() throws IOExceptionSE
      開始。
      例外:
      IOExceptionSE
    • UpdateLineColumn

      protected void UpdateLineColumn(char c)
    • readChar

      public char readChar() throws IOExceptionSE
      文字を読みます。
      例外:
      IOExceptionSE
    • 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

      public void ReInit(ReaderSE dstream, int startline, int startcolumn, int buffersize)
      再初期化します。
    • ReInit

      public void ReInit(ReaderSE dstream, int startline, int startcolumn)
      再初期化します。
    • ReInit

      public void ReInit(ReaderSE dstream)
      再初期化します。
    • ReInit

      public void ReInit(InputStreamSE dstream, StringSE encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingExceptionSE
      再初期化します。
      例外:
      UnsupportedEncodingExceptionSE
    • ReInit

      public void ReInit(InputStreamSE dstream, int startline, int startcolumn, int buffersize)
      再初期化します。
    • ReInit

      public void ReInit(InputStreamSE dstream, StringSE encoding) throws UnsupportedEncodingExceptionSE
      再初期化します。
      例外:
      UnsupportedEncodingExceptionSE
    • ReInit

      public void ReInit(InputStreamSE dstream)
      再初期化します。
    • ReInit

      public void ReInit(InputStreamSE dstream, StringSE encoding, int startline, int startcolumn) throws UnsupportedEncodingExceptionSE
      再初期化します。
      例外:
      UnsupportedEncodingExceptionSE
    • ReInit

      public void ReInit(InputStreamSE dstream, int startline, int startcolumn)
      再初期化します。
    • GetImage

      public StringSE GetImage()
      トークンのリテラル値を取得します。
    • GetSuffix

      public char[] GetSuffix(int len)
      サフィックスを取得します。
    • Done

      public void Done()
      終了したらバッファをリセットします。
    • adjustBeginLineColumn

      public void adjustBeginLineColumn(int newLine, int newCol)
      トークンの開始の行番号と列番号を調整するメソッド。