java.lang.ObjectAs a subclass of StringScanner this class allows more advanced navigation over the underlying string.com.sshtools.daemon.util.StringScanner
com.sshtools.daemon.util.StringExaminer
Manfred - Duchrow$ - Id: StringExaminer.java,v 1.7 2003/09/11 15:37:07 martianx Exp $| Fields inherited from com.sshtools.daemon.util.StringScanner: |
|---|
| END_REACHED, length, position, pos_marker, buffer |
| Constructor: |
|---|
The string will be treated case-sensitive.
|
|
| Method from com.sshtools.daemon.util.StringExaminer Summary: |
|---|
| charsAreEqual, ignoreCase, ignoreCase, peekUpToEnd, skipAfter, skipBefore, upToEnd, upToEnd |
| Methods from com.sshtools.daemon.util.StringScanner: |
|---|
| atEnd, endNotReached, endReached, getPosition, hasNext, length, markPosition, nextChar, nextNoneWhitespaceChar, peek, restorePosition, setPosition, skip, toString |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from com.sshtools.daemon.util.StringExaminer Detail: |
|---|
|
|
|
The character position of the examiner is not changed by this method. |
If the matchString was found, the next invocation of method nextChar() returns the first character after that matchString. |
If the matchString was found, the next invocation of method nextChar() returns the first character of that matchString from the position where it was found inside the examined string. |
The character position is put to the end by this method. That means the next invocation of nextChar() returns END_REACHED. |
Depending on the peek flag the character position of the examiner is unchanged (true) after calling this method or points behind the strings last character. |