Uses of Class
org.apache.commons.geometry.io.core.internal.SimpleTextParser
Packages that use SimpleTextParser
Package
Description
This package contains IO utilities intended for internal use only.
This package contains types for reading and writing the
OBJ
geometric data file format.
This package contains types for reading and writing the
STL
geometric data file format.
This package contains types for working with simple text-based 3D geometric
data formats, including CSV and simple text files.
-
Uses of SimpleTextParser in org.apache.commons.geometry.io.core.internal
Methods in org.apache.commons.geometry.io.core.internal that return SimpleTextParserModifier and TypeMethodDescriptionSimpleTextParser.consume
(int len, IntConsumer consumer) Consume at mostlen
characters from the stream, passing each to the given consumer.SimpleTextParser.consume
(IntPredicate pred, IntConsumer consumer) Consume characters from the stream and pass them toconsumer
while the given predicate returns true.SimpleTextParser.consumeWithLineContinuation
(char lineContinuationChar, int len, IntConsumer consumer) Consume at mostlen
characters from the stream, passing each to the given consumer.SimpleTextParser.consumeWithLineContinuation
(char lineContinuationChar, IntPredicate pred, IntConsumer consumer) Consume characters from the stream and pass them toconsumer
while the given predicate returns true.SimpleTextParser.discard
(int len) Discardlen
number of characters from the character stream.SimpleTextParser.discard
(IntPredicate pred) Discard characters from the stream while the given predicate returns true.SimpleTextParser.discardLine()
Discard all remaining characters on the current line, including the terminating newline character sequence.SimpleTextParser.discardLineWhitespace()
Discard the next whitespace characters on the current line.SimpleTextParser.discardNewLineSequence()
Discard the newline character sequence at the current reader position.SimpleTextParser.discardWhitespace()
Discard a sequence of whitespace characters from the character stream starting from the current parser position.SimpleTextParser.discardWithLineContinuation
(char lineContinuationChar, int len) Discardlen
number of characters from the character stream.SimpleTextParser.discardWithLineContinuation
(char lineContinuationChar, IntPredicate pred) Discard characters from the stream while the given predicate returns true.Compare thecurrent token
with the argument and throw an exception if they are not equal.SimpleTextParser.matchIgnoreCase
(String expected) Compare thecurrent token
with the argument and throw an exception if they are not equal.SimpleTextParser.next
(int len) Read a string containing at mostlen
characters from the stream and set it as the current token.SimpleTextParser.next
(IntPredicate pred) Read characters from the stream while the given predicate returns true and set the result as the current token.SimpleTextParser.nextAlphanumeric()
Read a sequence of alphanumeric characters starting from the current parser position and set the result as the current token.SimpleTextParser.nextLine()
Read characters from the current parser position to the next new line sequence and set the result as the current token .SimpleTextParser.nextWithLineContinuation
(char lineContinuationChar, int len) Read a string containing at mostlen
characters from the stream and set it as the current token.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. -
Uses of SimpleTextParser in org.apache.commons.geometry.io.euclidean.threed.obj
Fields in org.apache.commons.geometry.io.euclidean.threed.obj declared as SimpleTextParserModifier and TypeFieldDescriptionprivate final SimpleTextParser
AbstractObjParser.parser
Text parser instance.Methods in org.apache.commons.geometry.io.euclidean.threed.obj that return SimpleTextParserModifier and TypeMethodDescriptionprotected SimpleTextParser
AbstractObjParser.discardDataLineWhitespace()
Discard whitespace on the current data line, taking line continuation characters into account.protected SimpleTextParser
AbstractObjParser.getTextParser()
Get the text parser for the instance.Constructors in org.apache.commons.geometry.io.euclidean.threed.obj with parameters of type SimpleTextParserModifierConstructorDescriptionprotected
AbstractObjParser
(SimpleTextParser parser) Construct a new instance for parsing OBJ content from the given text parser.PolygonObjParser
(SimpleTextParser parser) Construct a new instance for parsing OBJ content from the given text parser. -
Uses of SimpleTextParser in org.apache.commons.geometry.io.euclidean.threed.stl
Fields in org.apache.commons.geometry.io.euclidean.threed.stl declared as SimpleTextParserModifier and TypeFieldDescriptionprivate SimpleTextParser
TextStlFacetDefinitionReader.parser
Text parser. -
Uses of SimpleTextParser in org.apache.commons.geometry.io.euclidean.threed.txt
Fields in org.apache.commons.geometry.io.euclidean.threed.txt declared as SimpleTextParserModifier and TypeFieldDescriptionprivate final SimpleTextParser
TextFacetDefinitionReader.parser
Parser used to parse text content.