Class SimpleCharStream

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

@Deprecated @NullUnmarked public class SimpleCharStream extends Object
Deprecated.
As of 2.0 it is recommended to use LdapName along with utility methods in LdapUtils instead.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
  • Field Details

    • staticFlag

      public static final boolean staticFlag
      Deprecated.
      Whether parser is static.
      See Also:
    • bufpos

      public int bufpos
      Deprecated.
      Position in buffer.
    • bufline

      protected int[] bufline
      Deprecated.
    • bufcolumn

      protected int[] bufcolumn
      Deprecated.
    • column

      protected int column
      Deprecated.
    • line

      protected int line
      Deprecated.
    • prevCharIsCR

      protected boolean prevCharIsCR
      Deprecated.
    • prevCharIsLF

      protected boolean prevCharIsLF
      Deprecated.
    • inputStream

      protected Reader inputStream
      Deprecated.
    • buffer

      protected char[] buffer
      Deprecated.
    • maxNextCharInd

      protected int maxNextCharInd
      Deprecated.
    • inBuf

      protected int inBuf
      Deprecated.
    • tabSize

      protected int tabSize
      Deprecated.
  • Constructor Details

  • Method Details

    • setTabSize

      protected void setTabSize(int i)
      Deprecated.
    • getTabSize

      protected int getTabSize(int i)
      Deprecated.
    • ExpandBuff

      protected void ExpandBuff(boolean wrapAround)
      Deprecated.
    • FillBuff

      protected void FillBuff() throws IOException
      Deprecated.
      Throws:
      IOException
    • BeginToken

      public char BeginToken() throws IOException
      Deprecated.
      Start.
      Throws:
      IOException
    • UpdateLineColumn

      protected void UpdateLineColumn(char c)
      Deprecated.
    • readChar

      public char readChar() throws IOException
      Deprecated.
      Read a character.
      Throws:
      IOException
    • getColumn

      @Deprecated public int getColumn()
      Deprecated.
      See Also:
    • getLine

      @Deprecated public int getLine()
      Deprecated.
      See Also:
    • getEndColumn

      public int getEndColumn()
      Deprecated.
      Get token end column number.
    • getEndLine

      public int getEndLine()
      Deprecated.
      Get token end line number.
    • getBeginColumn

      public int getBeginColumn()
      Deprecated.
      Get token beginning column number.
    • getBeginLine

      public int getBeginLine()
      Deprecated.
      Get token beginning line number.
    • backup

      public void backup(int amount)
      Deprecated.
      Backup a number of characters.
    • ReInit

      public void ReInit(Reader dstream, int startline, int startcolumn, int buffersize)
      Deprecated.
      Reinitialise.
    • ReInit

      public void ReInit(Reader dstream, int startline, int startcolumn)
      Deprecated.
      Reinitialise.
    • ReInit

      public void ReInit(Reader dstream)
      Deprecated.
      Reinitialise.
    • ReInit

      public void ReInit(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException
      Deprecated.
      Reinitialise.
      Throws:
      UnsupportedEncodingException
    • ReInit

      public void ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
      Deprecated.
      Reinitialise.
    • ReInit

      public void ReInit(InputStream dstream, String encoding) throws UnsupportedEncodingException
      Deprecated.
      Reinitialise.
      Throws:
      UnsupportedEncodingException
    • ReInit

      public void ReInit(InputStream dstream)
      Deprecated.
      Reinitialise.
    • ReInit

      public void ReInit(InputStream dstream, String encoding, int startline, int startcolumn) throws UnsupportedEncodingException
      Deprecated.
      Reinitialise.
      Throws:
      UnsupportedEncodingException
    • ReInit

      public void ReInit(InputStream dstream, int startline, int startcolumn)
      Deprecated.
      Reinitialise.
    • GetImage

      public String GetImage()
      Deprecated.
      Get token literal value.
    • GetSuffix

      public char[] GetSuffix(int len)
      Deprecated.
      Get the suffix.
    • Done

      public void Done()
      Deprecated.
      Reset buffer when finished.
    • adjustBeginLineColumn

      public void adjustBeginLineColumn(int newLine, int newCol)
      Deprecated.
      Method to adjust line and column numbers for the start of a token.