Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractCharStreamScanner - Class in io.github.mmm.scanner
-
Abstract implementation of
CharStreamScanner.
ATTENTION:
This implementation and its sub-classes are NOT thread-safe and have no intention to be thread-safe. - AbstractCharStreamScanner(char[], TextFormatMessageHandler) - Constructor for class io.github.mmm.scanner.AbstractCharStreamScanner
-
The constructor.
- AbstractCharStreamScanner(char[], TextFormatMessageHandler, int, int) - Constructor for class io.github.mmm.scanner.AbstractCharStreamScanner
-
The constructor.
- AbstractCharStreamScanner(int, TextFormatMessageHandler) - Constructor for class io.github.mmm.scanner.AbstractCharStreamScanner
-
The constructor.
- AbstractCharStreamScanner(int, TextFormatMessageHandler, int, int) - Constructor for class io.github.mmm.scanner.AbstractCharStreamScanner
-
The constructor.
- addMessage(TextFormatMessage) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- ALL - Enum constant in enum class io.github.mmm.scanner.number.CharScannerRadixMode
-
Accept any radix (2, 8, 10, 16).
- append(StringBuilder, int, int) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- appendExponent(boolean) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
Appends the
exponentsymbols. - appendRadix() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
Appends the radix to the number
StringBuilder. - appendRadix() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserString
- appendSubstring(StringBuilder, int, int) - Method in class io.github.mmm.scanner.CharSequenceScanner
- asBigDecimal() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserString
- asBigInteger() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserString
- asDouble() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserLang
- asDouble() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserString
- asFloat() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserString
- asInteger() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserLang
- asLong() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserLang
- asString() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserString
B
- buffer - Variable in class io.github.mmm.scanner.AbstractCharStreamScanner
-
The internal buffer with character data.
- builder - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
StringBuilderto build the number asString. - builder() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- builder() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserLang
- builder(StringBuilder) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
C
- charAt(int) - Method in class io.github.mmm.scanner.CharSequenceScanner
- CharEscapeHelper - Class in io.github.mmm.scanner
-
Simple static helper for dealing with escaped characters.
- CharEscapeHelper() - Constructor for class io.github.mmm.scanner.CharEscapeHelper
- CharReaderScanner - Class in io.github.mmm.scanner
-
Implementation of
CharStreamScannerthat adapts aReaderto read and parse textual data. - CharReaderScanner() - Constructor for class io.github.mmm.scanner.CharReaderScanner
-
The constructor.
- CharReaderScanner(int) - Constructor for class io.github.mmm.scanner.CharReaderScanner
-
The constructor.
- CharReaderScanner(int, TextFormatMessageHandler) - Constructor for class io.github.mmm.scanner.CharReaderScanner
-
The constructor.
- CharReaderScanner(int, TextFormatMessageHandler, Reader) - Constructor for class io.github.mmm.scanner.CharReaderScanner
-
The constructor.
- CharReaderScanner(int, Reader) - Constructor for class io.github.mmm.scanner.CharReaderScanner
-
The constructor.
- CharReaderScanner(TextFormatMessageHandler) - Constructor for class io.github.mmm.scanner.CharReaderScanner
-
The constructor.
- CharReaderScanner(TextFormatMessageHandler, Reader) - Constructor for class io.github.mmm.scanner.CharReaderScanner
-
The constructor.
- CharReaderScanner(Reader) - Constructor for class io.github.mmm.scanner.CharReaderScanner
-
The constructor.
- CharScannerNumberParser - Interface in io.github.mmm.scanner.number
-
Callback interface to parse a number as sequence of digits, signs, and symbols.
- CharScannerNumberParserBase - Class in io.github.mmm.scanner.number
- CharScannerNumberParserBase(CharScannerRadixHandler, CharScannerNumberParserBase.CharScannerNumberSpecial...) - Constructor for class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The constructor.
- CharScannerNumberParserBase.CharScannerNumberSpecial - Interface in io.github.mmm.scanner.number
-
Interface for handling of a special number syntax.
- CharScannerNumberParserBase.CharScannerNumberSpecialDelimiter - Class in io.github.mmm.scanner.number
-
CharScannerNumberParserBase.CharScannerNumberSpecialfor digit delimiters like '_'. - CharScannerNumberParserBase.CharScannerNumberSpecialNonNumber - Class in io.github.mmm.scanner.number
-
CharScannerNumberParserBase.CharScannerNumberSpecialfor non-numeric number literals likeCharScannerNumberParserBase.NAN. - CharScannerNumberParserLang - Class in io.github.mmm.scanner.number
- CharScannerNumberParserLang(CharScannerRadixHandler, NumberType<?>) - Constructor for class io.github.mmm.scanner.number.CharScannerNumberParserLang
-
The constructor.
- CharScannerNumberParserLang(CharScannerRadixHandler, NumberType<?>, String) - Constructor for class io.github.mmm.scanner.number.CharScannerNumberParserLang
-
The constructor.
- CharScannerNumberParserLang(CharScannerRadixHandler, NumberType<?>, String, long) - Constructor for class io.github.mmm.scanner.number.CharScannerNumberParserLang
-
The constructor.
- CharScannerNumberParserString - Class in io.github.mmm.scanner.number
- CharScannerNumberParserString(CharScannerRadixHandler, boolean, boolean) - Constructor for class io.github.mmm.scanner.number.CharScannerNumberParserString
-
The constructor.
- CharScannerNumberParserString(CharScannerRadixHandler, boolean, boolean, String, boolean) - Constructor for class io.github.mmm.scanner.number.CharScannerNumberParserString
-
The constructor.
- CharScannerNumberSpecialDelimiter(char) - Constructor for class io.github.mmm.scanner.number.CharScannerNumberParserBase.CharScannerNumberSpecialDelimiter
-
The constructor.
- CharScannerNumberSpecialNonNumber(String) - Constructor for class io.github.mmm.scanner.number.CharScannerNumberParserBase.CharScannerNumberSpecialNonNumber
-
The constructor.
- CharScannerParser<T> - Interface in io.github.mmm.scanner
-
Interface of a parser the can
parsea Java object from astring representation. - CharScannerRadixHandler - Interface in io.github.mmm.scanner.number
-
Interface for
radix handling. - CharScannerRadixMode - Enum Class in io.github.mmm.scanner.number
- CharScannerSyntax - Interface in io.github.mmm.scanner
-
This is the interface used to define the syntax to scan characters.
- CharScannerSyntaxBean - Class in io.github.mmm.scanner
-
This is the implementation of
CharScannerSyntaxas Java bean. - CharScannerSyntaxBean() - Constructor for class io.github.mmm.scanner.CharScannerSyntaxBean
-
The constructor.
- CharSequenceScanner - Class in io.github.mmm.scanner
- CharSequenceScanner(char[]) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharSequenceScanner(char[], int, int) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharSequenceScanner(char[], int, int, TextFormatMessageHandler) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharSequenceScanner(char[], int, int, TextFormatMessageHandler, int, int) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharSequenceScanner(char[], TextFormatMessageHandler) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharSequenceScanner(char[], TextFormatMessageHandler, int, int) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharSequenceScanner(CharSequence) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharSequenceScanner(CharSequence, TextFormatMessageHandler) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharSequenceScanner(String) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharSequenceScanner(String, TextFormatMessageHandler) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharSequenceScanner(String, TextFormatMessageHandler, int, int) - Constructor for class io.github.mmm.scanner.CharSequenceScanner
-
The constructor.
- CharStreamScanner - Interface in io.github.mmm.scanner
-
This is the interface for a scanner that can be used to parse a stream or sequence of characters.
- close() - Method in class io.github.mmm.scanner.CharReaderScanner
- close() - Method in class io.github.mmm.scanner.CharSequenceScanner
- close() - Method in interface io.github.mmm.scanner.CharStreamScanner
- column - Variable in class io.github.mmm.scanner.AbstractCharStreamScanner
D
- digit(int, char) - Method in interface io.github.mmm.scanner.number.CharScannerNumberParser
- digit(int, char) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- digit(int, char) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserLang
- digitsLeadingZeros - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The leading zeros of mantissa.
- digitsTotal - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The total number of digits of mantissa that have been parsed.
- digitsTrailingZeros - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The current number of trailing zeros of mantissa.
- dot() - Method in interface io.github.mmm.scanner.number.CharScannerNumberParser
- dot() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- dotPosition - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The position of the decimal dot in the mantissa.
E
- EOS - Static variable in interface io.github.mmm.scanner.CharStreamScanner
-
The NULL character
'\0'used to indicate the end of stream (EOS).
ATTENTION: Do not confuse and mix'\0'with'0'. - eot(StringBuilder, boolean) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- error - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
trueif an error was detected and the result can only be an exception,falseotherwise. - expect(String) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method determines if the given
expectedStringis completely present at the current position. - expect(String, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method determines if the given
expectedStringis completely present at the current position. - expect(String, boolean, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method determines if the given
expectedStringis completely present at the current position. - expect(String, boolean, boolean, int) - Method in class io.github.mmm.scanner.CharReaderScanner
- expect(String, boolean, boolean, int) - Method in class io.github.mmm.scanner.CharSequenceScanner
- expect(String, boolean, boolean, int) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method determines if the given
expectedStringis completely present at the current position. - expect(String, boolean, boolean, int, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method determines if the given
expectedStringis completely present at the current position. - expectOne(char) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method checks if the
next characteris equal to the givenexpectedcharacter. - expectOne(char, boolean) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- expectOne(char, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method checks if the
next characteris equal to the givenexpectedcharacter. - expectOne(CharFilter) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- expectOne(CharFilter) - Method in interface io.github.mmm.scanner.CharStreamScanner
- expectRestWithLookahead(char[], boolean, Runnable, boolean) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- expectRestWithLookahead(char[], boolean, Runnable, boolean) - Method in class io.github.mmm.scanner.CharReaderScanner
- expectRestWithLookahead(char[], boolean, Runnable, boolean) - Method in class io.github.mmm.scanner.CharSequenceScanner
- expectUnsafe(String) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method skips all
next charactersas long as they equal to the according character of theexpectedString. - expectUnsafe(String, boolean) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- expectUnsafe(String, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method skips all
next charactersas long as they equal to the according character of theexpectedstring. - exponent(char, char) - Method in interface io.github.mmm.scanner.number.CharScannerNumberParser
- exponent(char, char) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- exponentDigitsLeadingZeros - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The leading zeros of the exponent.
- exponentDigitsTotal - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The total number of digits of the exponent.
- exponentSign - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The exponent sign character +/- or '\0' for none.
- exponentSymbol - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The exponent symbol character e/E/p/P or '\0' for none.
F
- fill() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
-
Consumes all remaining data in the internal
AbstractCharStreamScanner.bufferand fills theAbstractCharStreamScanner.bufferwith further data (if available from underlying source such as a stream/reader). - fill() - Method in class io.github.mmm.scanner.CharReaderScanner
G
- get() - Static method in class io.github.mmm.scanner.SimpleTextFormatMessageHandler
- getAltQuoteEnd() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
This method gets the alternative character used to end a quotation.
- getAltQuoteEnd() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
-
This method gets the alternative character used to end a quotation.
- getAltQuoteEscape() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
This method gets the character used to escape the
alt-quote-endcharacter within an quotation opened byalt-quote-start. - getAltQuoteEscape() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- getAltQuoteStart() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
This method gets the alternative character used to start a quotation that should be terminated by a
alt-quote-endcharacter. - getAltQuoteStart() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
-
This method gets the alternative character used to start a quotation that should be terminated by a
alt-quote-endcharacter. - getAppended(StringBuilder, int, int) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- getBufferParsed() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- getBufferParsed() - Method in interface io.github.mmm.scanner.CharStreamScanner
- getBufferToParse() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- getBufferToParse() - Method in class io.github.mmm.scanner.CharReaderScanner
- getBufferToParse() - Method in interface io.github.mmm.scanner.CharStreamScanner
- getColumn() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- getCurrentIndex() - Method in class io.github.mmm.scanner.CharSequenceScanner
-
This method gets the current position in the stream to scan.
- getEntityEnd() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
This method gets the character used to end an entity.
- getEntityEnd() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- getEntityStart() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
This method gets the character used to start an entity.
- getEntityStart() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- getEscape() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
This method gets the character used as escape.
- getEscape() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- getLength() - Method in class io.github.mmm.scanner.CharSequenceScanner
- getLine() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- getMessages() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- getOriginalString() - Method in class io.github.mmm.scanner.CharSequenceScanner
-
This method gets the original string to parse.
- getPosition() - Method in class io.github.mmm.scanner.CharReaderScanner
- getPosition() - Method in class io.github.mmm.scanner.CharSequenceScanner
- getPosition() - Method in interface io.github.mmm.scanner.CharStreamScanner
- getQuoteEnd() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
This method gets the character used to end a quotation.
- getQuoteEnd() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- getQuoteEscape() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
This method gets the character used to escape the
quote-endcharacter within a quotation. - getQuoteEscape() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- getQuoteStart() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
This method gets the character used to start a quotation that should be terminated by a
quote-endcharacter. - getQuoteStart() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- getReplaced(String, int, int) - Method in class io.github.mmm.scanner.CharSequenceScanner
-
This method gets the
original stringwhere thesubstringspecified bystartandendis replaced bysubstitute. - getSpecial() - Method in interface io.github.mmm.scanner.number.CharScannerNumberParserBase.CharScannerNumberSpecial
- getSpecial() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase.CharScannerNumberSpecialDelimiter
- getSpecial() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase.CharScannerNumberSpecialNonNumber
- getTail() - Method in class io.github.mmm.scanner.CharSequenceScanner
-
This method gets the tail of this scanner without changing the state.
- getTail(int) - Method in class io.github.mmm.scanner.CharSequenceScanner
-
This method gets the tail of this scanner limited (truncated) to the given
maximumnumber of characters without changing the state.
H
- handle(TextFormatMessage) - Method in class io.github.mmm.scanner.SimpleTextFormatMessageHandler
- handleChar(char) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- hasNext() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- hasNext() - Method in class io.github.mmm.scanner.CharSequenceScanner
- hasNext() - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method determines if there is at least one more character available.
I
- INFINITY - Static variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- io.github.mmm.scanner - module io.github.mmm.scanner
-
Provides scanners that help to parse character sequences efficient and easily.
- io.github.mmm.scanner - package io.github.mmm.scanner
-
Provides the API for scanners that help to parse character sequences efficient and easily.
- io.github.mmm.scanner.number - package io.github.mmm.scanner.number
- isAltQuoteEscapeLazy() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
If
alt-quote-start,alt-quote-endandalt-quote-escapeall point to the same character (which is NOT'\0'), then this method determines ifalt-quotation escapingis lazy. - isAltQuoteEscapeLazy() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- isDecimal() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- isDecimal() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserLang
- isDecimal() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserString
- isDigit(char) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- isEob() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- isEob() - Method in class io.github.mmm.scanner.CharReaderScanner
- isEos() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- isEos() - Method in class io.github.mmm.scanner.CharReaderScanner
- isEot() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
-
ATTENTION:
- isEot() - Method in class io.github.mmm.scanner.CharReaderScanner
- isQuoteEscapeLazy() - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
If
quote-start,quote-endandquote-escapeall point to the same character (which is NOT'\0'), then this method determines ifquotation escapingis lazy. - isQuoteEscapeLazy() - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- isSpecialStart(char) - Method in interface io.github.mmm.scanner.number.CharScannerNumberParserBase.CharScannerNumberSpecial
- isSpecialStart(char) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase.CharScannerNumberSpecialDelimiter
- isSpecialStart(char) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase.CharScannerNumberSpecialNonNumber
- isValidDelimiterPosition() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
L
- limit - Variable in class io.github.mmm.scanner.AbstractCharStreamScanner
-
The limit in the
AbstractCharStreamScanner.buffer. - line - Variable in class io.github.mmm.scanner.AbstractCharStreamScanner
- LOG_MAPPER_DEFAULT - Static variable in class io.github.mmm.scanner.SimpleTextFormatMessageHandler
-
Maps each
TextFormatMessageTypeto its analogLevel. - LOG_MAPPER_INFO_AS_DEBUG - Static variable in class io.github.mmm.scanner.SimpleTextFormatMessageHandler
N
- NAN - Static variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- next() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- next() - Method in class io.github.mmm.scanner.CharSequenceScanner
- next() - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads the current character from the stream and increments the index stepping to the next character.
- NO_OCTAL - Enum constant in enum class io.github.mmm.scanner.number.CharScannerRadixMode
-
Accept all radix except octal (2, 10, 16).
O
- offset - Variable in class io.github.mmm.scanner.AbstractCharStreamScanner
-
The start position in the
AbstractCharStreamScanner.bufferfrom where reading operations consumer data from. - ofThrowErrors() - Static method in class io.github.mmm.scanner.SimpleTextFormatMessageHandler
- ofThrowErrorsNoLogging() - Static method in class io.github.mmm.scanner.SimpleTextFormatMessageHandler
- ONLY_10 - Enum constant in enum class io.github.mmm.scanner.number.CharScannerRadixMode
-
Accept only decimal raidx (10).
- openDelimiter - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
truein case of a delimiter that has not been completed by a digit,falseotherwise.
P
- parse(CharStreamScanner) - Method in interface io.github.mmm.scanner.CharScannerParser
- parse(Reader) - Method in interface io.github.mmm.scanner.CharScannerParser
- parse(String) - Method in interface io.github.mmm.scanner.CharScannerParser
- peek() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- peek() - Method in class io.github.mmm.scanner.CharSequenceScanner
- peek() - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads the current character without
consumingcharacters and will therefore not change the state of this scanner. - peek(int) - Method in class io.github.mmm.scanner.CharReaderScanner
- peek(int) - Method in class io.github.mmm.scanner.CharSequenceScanner
- peek(int) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Like
CharStreamScanner.peek()but with further lookahead.
Attention:
This method requires lookahead. - peekString(int) - Method in class io.github.mmm.scanner.CharReaderScanner
- peekString(int) - Method in class io.github.mmm.scanner.CharSequenceScanner
-
This method peeks the number of
next charactersgiven bycountand returns them as string. - peekString(int) - Method in interface io.github.mmm.scanner.CharStreamScanner
- peekUntil(CharFilter, int) - Method in interface io.github.mmm.scanner.CharStreamScanner
- peekWhile(CharFilter, int) - Method in class io.github.mmm.scanner.CharReaderScanner
- peekWhile(CharFilter, int) - Method in class io.github.mmm.scanner.CharSequenceScanner
- peekWhile(CharFilter, int) - Method in interface io.github.mmm.scanner.CharStreamScanner
- position - Variable in class io.github.mmm.scanner.CharReaderScanner
R
- radix - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The radix of the digits, initially
10but can be changed byCharScannerNumberParserBase.radix(int, char). - radix(int, char) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- radix(int, char) - Method in interface io.github.mmm.scanner.number.CharScannerRadixHandler
-
This method will be called if the first character is '0' and will also pass a lookahead of the next character as parameter
symbol. - radix(int, char) - Method in enum class io.github.mmm.scanner.number.CharScannerRadixMode
- radixChar - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The radix character used by
CharScannerNumberParserBase.builder()if lazy created only for error. - read(int) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- read(int) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads the number of
next charactersgiven bycountand returns them as string. - read(int, StringBuilder) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- read(int, StringBuilder) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads the number of
next charactersgiven bycountandappendsthem to the givenStringBuilder. - readBoolean() - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Reads a
Booleanvalue from this scanner if available. - readBoolean(boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Reads a
Booleanvalue from this scanner if available. - readBoolean(boolean, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Reads a
Booleanvalue from this scanner if available. - readDigit() - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads the
next characterif it is a digit. - readDigit(int) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readDigit(int) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads the
next characterif it is a digit within the givenradix. - readDouble() - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads the double value (decimal number) starting at the current position by reading as many matching characters as available and returns its
parsedvalue. - readDouble(CharScannerRadixHandler) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readDouble(CharScannerRadixHandler) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads the double value (decimal number) starting at the current position by reading as many matching characters as available and returns its
parsedvalue. - readFloat() - Method in interface io.github.mmm.scanner.CharStreamScanner
- readFloat(CharScannerRadixHandler) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readFloat(CharScannerRadixHandler) - Method in interface io.github.mmm.scanner.CharStreamScanner
- readInteger() - Method in interface io.github.mmm.scanner.CharStreamScanner
- readInteger(CharScannerRadixHandler) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readInteger(CharScannerRadixHandler) - Method in interface io.github.mmm.scanner.CharStreamScanner
- readJavaCharLiteral() - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Reads and parses a Java
Characterliteral value according to JLS 3.10.6. - readJavaCharLiteral(TextFormatMessageType) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readJavaCharLiteral(TextFormatMessageType) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Reads and parses a Java
Characterliteral value according to JLS 3.10.6. - readJavaNumberLiteral() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readJavaNumberLiteral() - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Reads a Java
Numberliteral (e.g. - readJavaStringLiteral() - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Reads and parses a Java
Stringliteral value according to JLS 3.10.6. - readJavaStringLiteral(TextFormatMessageType) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readJavaStringLiteral(TextFormatMessageType) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Reads and parses a Java
Stringliteral value according to JLS 3.10.6. - readLine() - Method in interface io.github.mmm.scanner.CharStreamScanner
- readLine(boolean) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readLine(boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
- readLong() - Method in interface io.github.mmm.scanner.CharStreamScanner
- readLong(CharScannerRadixHandler) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readLong(CharScannerRadixHandler) - Method in interface io.github.mmm.scanner.CharStreamScanner
- readNumber(CharScannerNumberParser) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readNumber(CharScannerNumberParser) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Generic way to read and parse any kind of
Number. - readUnsignedLong(int) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readUnsignedLong(int) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads the long starting at the current position by reading as many Latin digits as available but at maximum the given
maxDigitsand returns itsparsedvalue. - readUntil(char, boolean) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readUntil(char, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the givenstopcharacter or the end is reached. - readUntil(char, boolean, char) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readUntil(char, boolean, char) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the given (un-escaped)stopcharacter or the end is reached. - readUntil(char, boolean, CharScannerSyntax) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readUntil(char, boolean, CharScannerSyntax) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the givenstopcharacter or the end of the string to parse is reached. - readUntil(CharFilter, boolean) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readUntil(CharFilter, boolean) - Method in class io.github.mmm.scanner.CharSequenceScanner
- readUntil(CharFilter, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the first characteracceptedby the givenfilteror the end is reached. - readUntil(CharFilter, boolean, CharScannerSyntax) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readUntil(CharFilter, boolean, CharScannerSyntax) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the givenCharFilteracceptsthe current character as stop character or the end of data is reached. - readUntil(CharFilter, boolean, String) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the first characteracceptedby the givenfilter, the givenstopStringor the end is reached. - readUntil(CharFilter, boolean, String, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the first characteracceptedby the givenfilter, the givenstopStringor the end is reached. - readUntil(CharFilter, boolean, String, boolean, boolean) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readUntil(CharFilter, boolean, String, boolean, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the first characteracceptedby the givenfilter, the givenstopStringor the end is reached. - readUntil(CharFilter, int, int) - Method in interface io.github.mmm.scanner.CharStreamScanner
- readWhile(CharFilter) - Method in interface io.github.mmm.scanner.CharStreamScanner
- readWhile(CharFilter, int, int) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- readWhile(CharFilter, int, int) - Method in class io.github.mmm.scanner.CharSequenceScanner
- readWhile(CharFilter, int, int) - Method in interface io.github.mmm.scanner.CharStreamScanner
- require(CharFilter, int) - Method in interface io.github.mmm.scanner.CharStreamScanner
- require(CharFilter, int, int) - Method in interface io.github.mmm.scanner.CharStreamScanner
- require(String, boolean) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- require(String, boolean) - Method in class io.github.mmm.scanner.CharSequenceScanner
- require(String, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method verifies that the
expectedstring gets consumed from this scanner with respect toignoreCase. - requireMin(int, int, CharFilter) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- requireOne(char) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method verifies that the
next characteris equal to the givenexpectedcharacter. - requireOne(CharFilter) - Method in interface io.github.mmm.scanner.CharStreamScanner
- requireOneOrMore(CharFilter) - Method in interface io.github.mmm.scanner.CharStreamScanner
- reset() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
-
Resets the internal state.
- reset() - Method in class io.github.mmm.scanner.CharReaderScanner
- resetTrailingZeros() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
Resets the trailing zeros if a non zero digit was found for mantissa.
- resetTrailingZeros() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserLang
- resolveEntity(String) - Method in interface io.github.mmm.scanner.CharScannerSyntax
-
This method resolves the given
entity. - resolveEntity(String) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
-
This method resolves the given
entity. - resolveEscape(char) - Static method in class io.github.mmm.scanner.CharEscapeHelper
- resolveEscape(String) - Static method in class io.github.mmm.scanner.CharEscapeHelper
S
- Scanner API - Search tag in module io.github.mmm.scanner
- Section
- setAltQuote(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
-
This method sets both the
alt-quote-startandalt-quote-endcharacter. - setAltQuoteEnd(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
-
This method sets the
alt-quote-endcharacter. - setAltQuoteEscape(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- setAltQuoteEscapeLazy(boolean) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- setAltQuoteStart(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- setCurrentIndex(int) - Method in class io.github.mmm.scanner.CharSequenceScanner
-
This method sets the
current index. - setEntityEnd(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- setEntityStart(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- setEscape(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- setOffset(int) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- setQuote(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
-
This method sets both the
quote-startandquote-endcharacter. - setQuoteEnd(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- setQuoteEscape(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- setQuoteEscapeLazy(boolean) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- setQuoteStart(char) - Method in class io.github.mmm.scanner.CharScannerSyntaxBean
- setReader(Reader) - Method in class io.github.mmm.scanner.CharReaderScanner
- sign - Variable in class io.github.mmm.scanner.number.CharScannerNumberParserBase
-
The initial sign character +/- or '\0' for none.
- sign(char) - Method in interface io.github.mmm.scanner.number.CharScannerNumberParser
-
This method will only be called if the first character if the number is '+' or '-'.
- sign(char) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- sign(char) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserLang
- SimpleTextFormatMessageHandler - Class in io.github.mmm.scanner
-
Default implementation of
TextFormatMessageHandler. - SimpleTextFormatMessageHandler(boolean, Logger, Function<TextFormatMessageType, Level>, boolean) - Constructor for class io.github.mmm.scanner.SimpleTextFormatMessageHandler
-
The constructor.
- skip(int) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- skip(int) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method skips the number of
next charactersgiven bycount. - skipNewLine() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- skipNewLine() - Method in interface io.github.mmm.scanner.CharStreamScanner
- skipOver(String) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the givensubstringhas been detected. - skipOver(String, boolean) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the givensubstringhas been detected. - skipOver(String, boolean, CharFilter) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- skipOver(String, boolean, CharFilter) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method consumes all
next charactersuntil the givensubstringhas been detected, a character wasacceptedby the givenCharFilteror the end of data was reached.
After the call of this method this scanner will point to the next character after the first occurrence ofsubstring, to the stop character or to end of data. - skipUntil(char) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- skipUntil(char) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method skips all
next charactersuntil the givenstopcharacter or the end is reached. - skipUntil(char, char) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- skipUntil(char, char) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersuntil the givenstopcharacter or the end of the string to parse is reached. - skipWhile(char) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- skipWhile(char) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
This method reads all
next charactersthat are identical to the character given byc. - skipWhile(CharFilter) - Method in interface io.github.mmm.scanner.CharStreamScanner
- skipWhile(CharFilter, int) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- skipWhile(CharFilter, int) - Method in interface io.github.mmm.scanner.CharStreamScanner
- skipWhileAndPeek(CharFilter) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Behaves like the following code:
- skipWhileAndPeek(CharFilter, int) - Method in interface io.github.mmm.scanner.CharStreamScanner
-
Behaves like the following code:
- special(char) - Method in interface io.github.mmm.scanner.number.CharScannerNumberParser
-
This method allows handling special characters like thousand delimiter (e.g.
- special(char) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- special(String) - Method in interface io.github.mmm.scanner.number.CharScannerNumberParser
- special(String) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- special(String) - Method in class io.github.mmm.scanner.number.CharScannerNumberParserLang
- specials(String, boolean) - Static method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- substring(int, int) - Method in class io.github.mmm.scanner.CharSequenceScanner
T
- toString() - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- toString() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserBase
- toString() - Method in class io.github.mmm.scanner.number.CharScannerNumberParserLang
V
- valueOf(String) - Static method in enum class io.github.mmm.scanner.number.CharScannerRadixMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.mmm.scanner.number.CharScannerRadixMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyLookahead(int) - Method in class io.github.mmm.scanner.AbstractCharStreamScanner
- verifyLookahead(int) - Method in class io.github.mmm.scanner.CharReaderScanner
All Classes and Interfaces|All Packages|Constant Field Values