Class SimpleCharStream
java.lang.Object
org.springframework.ldap.core.SimpleCharStream
Deprecated.
An implementation of interface CharStream, where the stream is assumed to contain only
ASCII characters (without unicode processing).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int[]Deprecated.protected char[]Deprecated.protected int[]Deprecated.intDeprecated.Position in buffer.protected intDeprecated.protected intDeprecated.protected ReaderDeprecated.protected intDeprecated.protected intDeprecated.protected booleanDeprecated.protected booleanDeprecated.static final booleanDeprecated.Whether parser is static.protected intDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionSimpleCharStream(InputStream dstream) Deprecated.Constructor.SimpleCharStream(InputStream dstream, int startline, int startcolumn) Deprecated.Constructor.SimpleCharStream(InputStream dstream, int startline, int startcolumn, int buffersize) Deprecated.Constructor.SimpleCharStream(InputStream dstream, String encoding) Deprecated.Constructor.SimpleCharStream(InputStream dstream, String encoding, int startline, int startcolumn) Deprecated.Constructor.SimpleCharStream(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) Deprecated.Constructor.SimpleCharStream(Reader dstream) Deprecated.Constructor.SimpleCharStream(Reader dstream, int startline, int startcolumn) Deprecated.Constructor.SimpleCharStream(Reader dstream, int startline, int startcolumn, int buffersize) Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustBeginLineColumn(int newLine, int newCol) Deprecated.Method to adjust line and column numbers for the start of a token.voidbackup(int amount) Deprecated.Backup a number of characters.charDeprecated.Start.voidDone()Deprecated.Reset buffer when finished.protected voidExpandBuff(boolean wrapAround) Deprecated.protected voidFillBuff()Deprecated.intDeprecated.Get token beginning column number.intDeprecated.Get token beginning line number.intDeprecated.intDeprecated.Get token end column number.intDeprecated.Get token end line number.GetImage()Deprecated.Get token literal value.intgetLine()Deprecated.char[]GetSuffix(int len) Deprecated.Get the suffix.protected intgetTabSize(int i) Deprecated.charreadChar()Deprecated.Read a character.voidReInit(InputStream dstream) Deprecated.Reinitialise.voidReInit(InputStream dstream, int startline, int startcolumn) Deprecated.Reinitialise.voidReInit(InputStream dstream, int startline, int startcolumn, int buffersize) Deprecated.Reinitialise.voidReInit(InputStream dstream, String encoding) Deprecated.Reinitialise.voidReInit(InputStream dstream, String encoding, int startline, int startcolumn) Deprecated.Reinitialise.voidReInit(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) Deprecated.Reinitialise.voidDeprecated.Reinitialise.voidDeprecated.Reinitialise.voidDeprecated.Reinitialise.protected voidsetTabSize(int i) Deprecated.protected voidUpdateLineColumn(char c) Deprecated.
-
Field Details
-
staticFlag
public static final boolean staticFlagDeprecated.Whether parser is static.- See Also:
-
bufpos
public int bufposDeprecated.Position in buffer. -
bufline
protected int[] buflineDeprecated. -
bufcolumn
protected int[] bufcolumnDeprecated. -
column
protected int columnDeprecated. -
line
protected int lineDeprecated. -
prevCharIsCR
protected boolean prevCharIsCRDeprecated. -
prevCharIsLF
protected boolean prevCharIsLFDeprecated. -
inputStream
Deprecated. -
buffer
protected char[] bufferDeprecated. -
maxNextCharInd
protected int maxNextCharIndDeprecated. -
inBuf
protected int inBufDeprecated. -
tabSize
protected int tabSizeDeprecated.
-
-
Constructor Details
-
SimpleCharStream
Deprecated.Constructor. -
SimpleCharStream
-
SimpleCharStream
-
SimpleCharStream
public SimpleCharStream(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException Deprecated.Constructor.- Throws:
UnsupportedEncodingException
-
SimpleCharStream
Deprecated.Constructor. -
SimpleCharStream
public SimpleCharStream(InputStream dstream, String encoding, int startline, int startcolumn) throws UnsupportedEncodingException Deprecated.Constructor.- Throws:
UnsupportedEncodingException
-
SimpleCharStream
Deprecated.Constructor. -
SimpleCharStream
-
SimpleCharStream
-
-
Method Details
-
setTabSize
protected void setTabSize(int i) Deprecated. -
getTabSize
protected int getTabSize(int i) Deprecated. -
ExpandBuff
protected void ExpandBuff(boolean wrapAround) Deprecated. -
FillBuff
-
BeginToken
-
UpdateLineColumn
protected void UpdateLineColumn(char c) Deprecated. -
readChar
-
getColumn
-
getLine
-
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
Deprecated.Reinitialise. -
ReInit
-
ReInit
-
ReInit
public void ReInit(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException Deprecated.Reinitialise.- Throws:
UnsupportedEncodingException
-
ReInit
Deprecated.Reinitialise. -
ReInit
-
ReInit
-
ReInit
public void ReInit(InputStream dstream, String encoding, int startline, int startcolumn) throws UnsupportedEncodingException Deprecated.Reinitialise.- Throws:
UnsupportedEncodingException
-
ReInit
-
GetImage
-
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.
-
LdapNamealong with utility methods inLdapUtilsinstead.