Package | Description |
---|---|
org.apache.commons.geometry.io.core.internal |
This package contains IO utilities intended for internal use only.
|
Modifier and Type | Method and Description |
---|---|
SimpleTextParser |
SimpleTextParser.consume(int len,
IntConsumer consumer)
Consume at most
len characters from the stream, passing each to the given consumer. |
SimpleTextParser |
SimpleTextParser.consume(IntPredicate pred,
IntConsumer consumer)
Consume characters from the stream and pass them to
consumer while the given predicate
returns true. |
SimpleTextParser |
SimpleTextParser.consumeWithLineContinuation(char lineContinuationChar,
int len,
IntConsumer consumer)
Consume at most
len characters from the stream, passing each to the given consumer. |
SimpleTextParser |
SimpleTextParser.consumeWithLineContinuation(char lineContinuationChar,
IntPredicate pred,
IntConsumer consumer)
Consume characters from the stream and pass them to
consumer while the given predicate
returns true. |
SimpleTextParser |
SimpleTextParser.discard(int len)
Discard
len number of characters from the character stream. |
SimpleTextParser |
SimpleTextParser.discard(IntPredicate pred)
Discard characters from the stream while the given predicate returns true.
|
SimpleTextParser |
SimpleTextParser.discardLine()
Discard all remaining characters on the current line, including the terminating
newline character sequence.
|
SimpleTextParser |
SimpleTextParser.discardLineWhitespace()
Discard the next whitespace characters on the current line.
|
SimpleTextParser |
SimpleTextParser.discardNewLineSequence()
Discard the newline character sequence at the current reader position.
|
SimpleTextParser |
SimpleTextParser.discardWhitespace()
Discard a sequence of whitespace characters from the character stream starting from the
current parser position.
|
SimpleTextParser |
SimpleTextParser.discardWithLineContinuation(char lineContinuationChar,
int len)
Discard
len number of characters from the character stream. |
SimpleTextParser |
SimpleTextParser.discardWithLineContinuation(char lineContinuationChar,
IntPredicate pred)
Discard characters from the stream while the given predicate returns true.
|
SimpleTextParser |
SimpleTextParser.match(String expected)
Compare the
current token with the argument and throw an
exception if they are not equal. |
SimpleTextParser |
SimpleTextParser.matchIgnoreCase(String expected)
Compare the
current token with the argument and throw an
exception if they are not equal. |
SimpleTextParser |
SimpleTextParser.next(int len)
Read a string containing at most
len characters from the stream and
set it as the current token. |
SimpleTextParser |
SimpleTextParser.next(IntPredicate pred)
Read characters from the stream while the given predicate returns true and set the result
as the current token.
|
SimpleTextParser |
SimpleTextParser.nextAlphanumeric()
Read a sequence of alphanumeric characters starting from the current parser position
and set the result as the current token.
|
SimpleTextParser |
SimpleTextParser.nextLine()
Read characters from the current parser position to the next new line sequence and
set the result as the current token .
|
SimpleTextParser |
SimpleTextParser.nextWithLineContinuation(char lineContinuationChar,
int len)
Read a string containing at most
len characters from the stream and
set it as the current token. |
SimpleTextParser |
SimpleTextParser.nextWithLineContinuation(char lineContinuationChar,
IntPredicate pred)
Read characters from the stream while the given predicate returns true and set the result
as the current token.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.