Skip navigation links
A B C D E F G H I J L M N O P R S T U V W X 

A

AbstractExpression - Class in de.unkrig.commons.text.expression
An implementation of Expression which implements the "evaluateTo*()" convenience methods.
AbstractExpression() - Constructor for class de.unkrig.commons.text.expression.AbstractExpression
 
AbstractParser<TT extends Enum<TT>> - Class in de.unkrig.commons.text.parser
The base class for implementing parsers.
AbstractParser(ProducerWhichThrows<? extends AbstractScanner.Token<TT>, ? extends ScanException>) - Constructor for class de.unkrig.commons.text.parser.AbstractParser
 
AbstractPrinter - Class in de.unkrig.commons.text
A basic implementation of the Printer interface.
AbstractPrinter() - Constructor for class de.unkrig.commons.text.AbstractPrinter
 
AbstractPrinter.Level - Enum in de.unkrig.commons.text
The "importance levels" that a Printer supports.
AbstractScanner<TT extends Enum<TT>> - Class in de.unkrig.commons.text.scanner
A scanner that produces AbstractScanner.Tokens.
AbstractScanner() - Constructor for class de.unkrig.commons.text.scanner.AbstractScanner
 
AbstractScanner.Token<TT extends Enum<TT>> - Class in de.unkrig.commons.text.scanner
Representation of a scanned token.
accept(Json.ValueVisitor) - Method in class de.unkrig.commons.text.json.Json.Array
 
accept(Json.ValueVisitor) - Method in class de.unkrig.commons.text.json.Json.False
 
accept(Json.ValueVisitor) - Method in class de.unkrig.commons.text.json.Json.Null
 
accept(Json.ValueVisitor) - Method in class de.unkrig.commons.text.json.Json.NumbeR
 
accept(Json.ValueVisitor) - Method in class de.unkrig.commons.text.json.Json.ObjecT
 
accept(Json.ValueVisitor) - Method in class de.unkrig.commons.text.json.Json.StrinG
 
accept(Json.ValueVisitor) - Method in class de.unkrig.commons.text.json.Json.True
 
accept(Json.ValueVisitor) - Method in interface de.unkrig.commons.text.json.Json.Value
Invokes the value type-specific 'visit...()' method of Json.ValueVisitor.
addExclude(Glob, boolean) - Method in class de.unkrig.commons.text.pattern.IncludeExclude
 
addInclude(Glob, boolean) - Method in class de.unkrig.commons.text.pattern.IncludeExclude
 
addRule(String, TT) - Method in class de.unkrig.commons.text.scanner.StatefulScanner
Adds a rule that applies iff the scanner is in the "default state".
addRule(S, String, TT) - Method in class de.unkrig.commons.text.scanner.StatefulScanner
Adds a rule that applies iff the scanner is in the given non-default state.
addRule(EnumSet<S>, String, TT) - Method in class de.unkrig.commons.text.scanner.StatefulScanner
Adds a rule that applies iff states== StatefulScanner.ANY_STATE, or the scanner is in one of the given non-default states, or the states contain null and the scanner is in the default state.
addRule(String, TT, S) - Method in class de.unkrig.commons.text.scanner.StatefulScanner
Deprecated.
Use ss.addRule(regex, tokenType).goTo(nextState) instead.
addRule(S, String, TT, S) - Method in class de.unkrig.commons.text.scanner.StatefulScanner
Deprecated.
Use addRule(state, regex, tokenType).goTo(nextState)
addRule(EnumSet<S>, String, TT, S) - Method in class de.unkrig.commons.text.scanner.StatefulScanner
Deprecated.
Use ss.addRule(states, regex, tokenType).goTo(nextState) instead
addRule(String, TT) - Method in class de.unkrig.commons.text.scanner.StatelessScanner
Adds a rule that produces the given tokenType if the next characters of the input match the given regex.
and(Glob, Glob) - Static method in class de.unkrig.commons.text.pattern.Glob
The Glob.matches(String) method of the returned Glob returns whether its subject argument matches both pattern1 and pattern2.
and(Predicate<? super String>, Glob) - Static method in class de.unkrig.commons.text.pattern.Glob
The Glob.matches(String) method of the returned Glob returns whether the predicate evaluates to true and the subject argument matches the pattern.
and(Glob, Predicate<? super String>) - Static method in class de.unkrig.commons.text.pattern.Glob
The Glob.matches(String) method of the returned Glob returns whether the subject argument matches the pattern and the predicate evaluates to true.
ANY - Static variable in class de.unkrig.commons.text.pattern.Glob
A Glob that matches any string (and thus replaces it with itself).
ANY_STATE - Variable in class de.unkrig.commons.text.scanner.StatefulScanner
Special value for some method parameters.
append(String...) - Method in interface de.unkrig.commons.text.Notations.Phrase
 
appendExclude(Glob) - Method in class de.unkrig.commons.text.pattern.IncludeExclude
Deprecated.
Equivalent with addExclude(exclude, false)
appendInclude(Glob) - Method in class de.unkrig.commons.text.pattern.IncludeExclude
Deprecated.
Equivalent with addInclude(include, false)
Array(List<Json.Value>) - Constructor for class de.unkrig.commons.text.json.Json.Array
 
arrayAccess(T, T) - Method in class de.unkrig.commons.text.expression.Parser
 
atEnd() - Method in class de.unkrig.commons.text.StringStream
 
augmentScanningLocation(ProducerWhichThrows<? extends T, ? extends EX>, String) - Static method in class de.unkrig.commons.text.scanner.ScannerUtil
 

B

binaryNumericPromotion(Object, Object) - Static method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Converts and returns the value to Integer, Long, Float, Double or String as appropriate for comparison with other.
binaryOperation(T, Parser.BinaryOperator, T) - Method in class de.unkrig.commons.text.expression.Parser
 

C

CamelCase - Class in de.unkrig.commons.text
Deprecated.
Use Notations instead.
captured - Variable in class de.unkrig.commons.text.scanner.AbstractScanner.Token
The input subsequences captured by the rule's pattern match.
cast(Class<?>, T) - Method in class de.unkrig.commons.text.expression.Parser
 
cat(String...) - Static method in class de.unkrig.commons.text.CamelCase
Deprecated.
Concatenates the given strings, with the first letter of each string except the first string capitalized.
combineMultiLineCComments(ProducerWhichThrows<? extends AbstractScanner.Token<JavaScanner.TokenType>, ? extends ScanException>) - Static method in class de.unkrig.commons.text.scanner.JavaScanner
CommandLineUtil - Class in de.unkrig.commons.text
Utility methods for processing command line arguments.
compile(String) - Static method in class de.unkrig.commons.text.pattern.Glob
Equivalent with compile(regex, 0).
compile(String, int) - Static method in class de.unkrig.commons.text.pattern.Glob
Similar to Pattern.compile(String, int), but returns a Glob instead of a Pattern.
compile(String, int) - Static method in class de.unkrig.commons.text.pattern.Pattern2
Like Pattern.compile(String,int), but with support for the Pattern2.WILDCARD flag.
compileRegex(Pattern) - Static method in class de.unkrig.commons.text.pattern.Glob
Returns a Glob who's Glob.replace(String) method will return its subject argument if the subject matches the given regex.
compileRegex(Pattern, String) - Static method in class de.unkrig.commons.text.pattern.Glob
The behavior of the Glob.matches(String) method of the returned Glob is as follows: If the regex matches the subject, then true is returned.
compressSpaces(ProducerWhichThrows<? extends AbstractScanner.Token<JavaScanner.TokenType>, ? extends ScanException>) - Static method in class de.unkrig.commons.text.scanner.JavaScanner
Creates and returns a token producer that merges sequences of two or more JavaScanner.TokenType.SPACE tokens into one.
conditional(T, T, T) - Method in class de.unkrig.commons.text.expression.Parser
 
constantExpression(Object) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
 
constantMatchReplacer(String) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
Returns a match replacer which always returns the given string.
constantReplacer(String) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
cs - Variable in class de.unkrig.commons.text.scanner.AbstractScanner
The string currently being scanned; typically one line from an input document.

D

de.unkrig.commons.text - package de.unkrig.commons.text
Helpers for text-related tasks.
de.unkrig.commons.text.expression - package de.unkrig.commons.text.expression
A simple expression evaluator which is useful, e.g., for configuration mechanisms.
de.unkrig.commons.text.json - package de.unkrig.commons.text.json
JSON-related functionality.
de.unkrig.commons.text.parser - package de.unkrig.commons.text.parser
A framework for convenient implementation of high-performance parsers.
de.unkrig.commons.text.pattern - package de.unkrig.commons.text.pattern
Extensions for the java.util.regex functionality.
de.unkrig.commons.text.scanner - package de.unkrig.commons.text.scanner
A framework for convenient implementation of high-performance stateless or stateful scanners.
de.unkrig.commons.text.xml - package de.unkrig.commons.text.xml
XML-related utility functionality.
debug(String, Object...) - Method in class de.unkrig.commons.text.AbstractPrinter
 
debug(String) - Method in class de.unkrig.commons.text.LevelFilteredPrinter
 
debug(String) - Method in interface de.unkrig.commons.text.Printer
Prints a debug message.
debug(String, Object...) - Method in interface de.unkrig.commons.text.Printer
Prints a debug message.
debug(String) - Static method in class de.unkrig.commons.text.Printers
Prints a debug message on the context printer.
debug(String, Object...) - Static method in class de.unkrig.commons.text.Printers
Prints a debug message on the context printer.
debug(String) - Method in class de.unkrig.commons.text.ProxyPrinter
 
debug(String, Object...) - Method in class de.unkrig.commons.text.ProxyPrinter
 
debug(String) - Method in class de.unkrig.commons.text.WriterPrinter
 
decodeCharacterLiteral(String) - Static method in class de.unkrig.commons.text.expression.Scanner
 
decodeFloatingPointLiteral(String) - Static method in class de.unkrig.commons.text.expression.Scanner
 
decodeIntegerLiteral(String) - Static method in class de.unkrig.commons.text.expression.Scanner
 
decodeStringLiteral(String) - Static method in class de.unkrig.commons.text.expression.Scanner
Removes the double quotes and the escape sequences from the given string literal.
DEFAULT_EXCLUDES - Static variable in class de.unkrig.commons.text.pattern.IncludeExclude
File names that one would typically exclude from file searches.
DEFAULT_LOOKBEHIND_LIMIT - Static variable in class de.unkrig.commons.text.pattern.Substitutor
The number of characters that can safely be used for look-behind, unless a different value is configured through Substitutor.Substitutor(Pattern, FunctionWhichThrows, int).
DEFAULT_PRINTER - Static variable in class de.unkrig.commons.text.Printers
Prints errors and warnings to System.err, and all other messages to System.out.
disableExtension(Parser.Extension) - Method in class de.unkrig.commons.text.expression.Parser
Disables the given parsing extension.
discard(AbstractPrinter.Level) - Method in class de.unkrig.commons.text.AbstractPrinter
Creates and returns an AbstractPrinter which discards all messages of the given level, and forwards all other messages to this AbstractWriter.
discard(EnumSet<AbstractPrinter.Level>) - Method in class de.unkrig.commons.text.AbstractPrinter
Creates and returns an AbstractPrinter which discards all messages of the given levels, and forwards all other messages to this AbstractWriter.
discardDebug(ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
 
discardError(ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
 
discardInfo(ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
 
discardVerbose(ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
 
discardWarn(ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
 
DocumentScanner<TT extends Enum<TT>> - Interface in de.unkrig.commons.text.scanner
A scanner which has a notion of a 'line number' and a 'column number' where the previously scanned token starts.

E

elements - Variable in class de.unkrig.commons.text.json.Json.Array
The (unmodifiable and constant) list of array elements.
enableExtension(Parser.Extension) - Method in class de.unkrig.commons.text.expression.Parser
Enables the given parsing extension.
eoi() - Method in class de.unkrig.commons.text.parser.AbstractParser
Asserts that the scanner is at end-of-input.
equals(Object) - Method in class de.unkrig.commons.text.json.Json.Array
 
equals(Object) - Method in class de.unkrig.commons.text.json.Json.False
 
equals(Object) - Method in class de.unkrig.commons.text.json.Json.Member
 
equals(Object) - Method in class de.unkrig.commons.text.json.Json.Null
 
equals(Object) - Method in class de.unkrig.commons.text.json.Json.NumbeR
 
equals(Object) - Method in class de.unkrig.commons.text.json.Json.ObjecT
 
equals(Object) - Method in class de.unkrig.commons.text.json.Json.StrinG
 
equals(Object) - Method in class de.unkrig.commons.text.json.Json.True
 
error(String, Throwable) - Method in class de.unkrig.commons.text.AbstractPrinter
 
error(String, Throwable, Object...) - Method in class de.unkrig.commons.text.AbstractPrinter
 
error(String, Object...) - Method in class de.unkrig.commons.text.AbstractPrinter
 
error(String) - Method in class de.unkrig.commons.text.LevelFilteredPrinter
 
error(String) - Method in interface de.unkrig.commons.text.Printer
Prints an error condition.
error(String, Object...) - Method in interface de.unkrig.commons.text.Printer
Prints an error condition.
error(String, Throwable) - Method in interface de.unkrig.commons.text.Printer
Prints an error condition.
error(String, Throwable, Object...) - Method in interface de.unkrig.commons.text.Printer
Prints an error condition.
error(String) - Static method in class de.unkrig.commons.text.Printers
Prints an error condition on the context printer.
error(String, Object...) - Static method in class de.unkrig.commons.text.Printers
Prints an error condition on the context printer.
error(String, Throwable) - Static method in class de.unkrig.commons.text.Printers
Prints an error condition on the context printer.
error(String, Throwable, Object...) - Static method in class de.unkrig.commons.text.Printers
Prints an error condition on the context printer.
error(String) - Method in class de.unkrig.commons.text.ProxyPrinter
 
error(String, Throwable) - Method in class de.unkrig.commons.text.ProxyPrinter
 
error(String, Object...) - Method in class de.unkrig.commons.text.ProxyPrinter
 
error(String, Throwable, Object...) - Method in class de.unkrig.commons.text.ProxyPrinter
 
error(String) - Method in class de.unkrig.commons.text.WriterPrinter
 
evaluate(Object...) - Method in class de.unkrig.commons.text.expression.AbstractExpression
 
evaluate(Mapping<String, ?>) - Method in interface de.unkrig.commons.text.expression.Expression
Computes the value of the expression
evaluate(Object...) - Method in interface de.unkrig.commons.text.expression.Expression
Computes the value of the expression.
evaluate(String, Object...) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Scans, parses and evaluates an expression.
evaluate(String, Mapping<String, ?>) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Scans, parses and evaluates an expression.
evaluate(String) - Method in class de.unkrig.commons.text.pattern.Glob
Implementation of PredicateWhichThrows.evaluate(T); calls {#matches}.
evaluateExpressionTo(String[], String, Class<T>, Mapping<String, ?>) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
Scans, parses and evaluates an expression, and converts the result to <T>.
evaluateLeniently(Expression, Mapping<String, ?>) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
 
evaluateLeniently(Expression, Object...) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
 
evaluateTo(Mapping<String, ?>, Class<T>) - Method in class de.unkrig.commons.text.expression.AbstractExpression
 
evaluateTo(Class<T>, Object...) - Method in class de.unkrig.commons.text.expression.AbstractExpression
 
evaluateTo(Mapping<String, ?>, Class<T>) - Method in interface de.unkrig.commons.text.expression.Expression
 
evaluateTo(Class<T>, Object...) - Method in interface de.unkrig.commons.text.expression.Expression
 
evaluateTo(String, Class<T>, Object...) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Scans, parses, evaluates and returns an expression.
evaluateTo(String, Class<T>, Mapping<String, ?>) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Scans, parses, evaluates and returns an expression.
evaluateTo(Expression, Class<T>, Mapping<String, ?>) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
 
evaluateTo(Expression, Class<T>, Object...) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
 
evaluateToBoolean(Mapping<String, ?>) - Method in class de.unkrig.commons.text.expression.AbstractExpression
 
evaluateToBoolean(Object...) - Method in class de.unkrig.commons.text.expression.AbstractExpression
 
evaluateToBoolean(Mapping<String, ?>) - Method in interface de.unkrig.commons.text.expression.Expression
 
evaluateToBoolean(Object...) - Method in interface de.unkrig.commons.text.expression.Expression
 
evaluateToBoolean(String, Object...) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Scans, parses and evaluates an expression.
evaluateToBoolean(String, Mapping<String, ?>) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Scans, parses and evaluates an expression.
evaluateToPrimitive(Mapping<String, ?>, Class<T>) - Method in class de.unkrig.commons.text.expression.AbstractExpression
 
evaluateToPrimitive(Class<T>, Object...) - Method in class de.unkrig.commons.text.expression.AbstractExpression
 
evaluateToPrimitive(Mapping<String, ?>, Class<T>) - Method in interface de.unkrig.commons.text.expression.Expression
 
evaluateToPrimitive(Class<T>, Object...) - Method in interface de.unkrig.commons.text.expression.Expression
 
evaluateToPrimitive(String, Class<?>, Object...) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Scans, parses and evaluates an expression.
evaluateToPrimitive(String, Class<?>, Mapping<String, ?>) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Scans, parses and evaluates an expression.
EvaluationException - Exception in de.unkrig.commons.text.expression
Indicates a problem that has occurred while an expression was evaluated.
EvaluationException(String) - Constructor for exception de.unkrig.commons.text.expression.EvaluationException
 
EvaluationException(Throwable) - Constructor for exception de.unkrig.commons.text.expression.EvaluationException
 
expand(String, String...) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
Turns the given string into an expression.
expand(String, Set<String>) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
Turns the given string into an expression.
expand(String, Predicate<? super String>) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
Turns the given string into an expression.
expandSingleLetterOptions(String[], int, Object...) - Static method in class de.unkrig.commons.text.CommandLineUtil
Replaces 'combined' single-letter options (as in "ls -lart") with 'long' options (as "ls -long -all -reverse -time").
Expression - Interface in de.unkrig.commons.text.expression
An expression evaluates to a value each time it is evaluated.
ExpressionEvaluator - Class in de.unkrig.commons.text.expression
Supports two operation modes: Scans, parses and evaluates an expression immediately (see ExpressionEvaluator.evaluate(String, Mapping)) Scans and parses an expression (see ExpressionEvaluator.parse(String)) into an Expression object for repeated evaluation (see Expression.evaluate(Object...)).
ExpressionEvaluator(PredicateWhichThrows<? super String, ? extends RuntimeException>) - Constructor for class de.unkrig.commons.text.expression.ExpressionEvaluator
 
ExpressionEvaluator(Collection<String>) - Constructor for class de.unkrig.commons.text.expression.ExpressionEvaluator
 
ExpressionEvaluator(String...) - Constructor for class de.unkrig.commons.text.expression.ExpressionEvaluator
 
ExpressionMatchReplacer - Class in de.unkrig.commons.text.pattern
Utility class that implements various flavors of Expression-based replace-all functionality in the style of Matcher.replaceAll(String).
ExpressionUtil - Class in de.unkrig.commons.text.expression
Utility class for Expression.

F

FALSE - Static variable in interface de.unkrig.commons.text.expression.Expression
An expression which always evaluates to false.
False() - Constructor for class de.unkrig.commons.text.json.Json.False
 
FALSES - Static variable in class de.unkrig.commons.text.expression.ExpressionEvaluator
All values the are implicitly regarded als false: null "" Boolean.FALSE (byte) 0 (short) 0 (integer) 0 (long) 0
fieldReference(T, String) - Method in class de.unkrig.commons.text.expression.Parser
 
filter(StringScanner<TT>, Predicate<? super AbstractScanner.Token<TT>>) - Static method in class de.unkrig.commons.text.scanner.ScannerUtil
 
findMeta(String, String, int) - Static method in class de.unkrig.commons.text.pattern.Pattern2
Finds the next unescaped occurrence of one of the metaCharacters within subject, starting at position offset.
fromCamelCase(String) - Static method in class de.unkrig.commons.text.Notations
Parses a camel-case string: Each upper-case letter indicates the beginning of a new word.
fromHyphenated(String) - Static method in class de.unkrig.commons.text.Notations
Double hyphens enclose the word "".
fromPredicate(Predicate<? super String>, String) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
 
fromPredicate(Predicate<? super String>) - Static method in class de.unkrig.commons.text.pattern.Glob
 
fromPrinter(Printer) - Static method in class de.unkrig.commons.text.AbstractPrinter
Wraps a Printer as an AbstractPrinter.
fromUnderscored(String) - Static method in class de.unkrig.commons.text.Notations
Double underscores enclose the word "".

G

get(Expression, Object...) - Static method in class de.unkrig.commons.text.pattern.ExpressionMatchReplacer
 
get(Expression, Mapping<String, ?>) - Static method in class de.unkrig.commons.text.pattern.ExpressionMatchReplacer
Creates and returns a "match replacer" that is suitable for PatternUtil.replaceSome(Matcher, FunctionWhichThrows) and implements the substitution through the given expression.
get() - Static method in class de.unkrig.commons.text.Printers
Deprecated.
getClassLoader() - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
 
getClassLoader() - Method in class de.unkrig.commons.text.expression.Parser
 
getContextPrinter() - Static method in class de.unkrig.commons.text.AbstractPrinter
Returns the context printer for this thread.
getCurrentState() - Method in class de.unkrig.commons.text.scanner.StatefulScanner
 
getImports() - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
 
getImports() - Method in class de.unkrig.commons.text.expression.Parser
 
getLocation(Node) - Static method in class de.unkrig.commons.text.xml.XmlUtil
 
getOffset() - Method in class de.unkrig.commons.text.scanner.AbstractScanner
 
getOffset() - Method in interface de.unkrig.commons.text.scanner.StringScanner
 
getPreviousTokenColumnNumber() - Method in interface de.unkrig.commons.text.scanner.DocumentScanner
 
getPreviousTokenLineNumber() - Method in interface de.unkrig.commons.text.scanner.DocumentScanner
 
getPreviousTokenOffset() - Method in class de.unkrig.commons.text.scanner.AbstractScanner
 
getPreviousTokenOffset() - Method in interface de.unkrig.commons.text.scanner.StringScanner
 
Glob - Class in de.unkrig.commons.text.pattern
This class extends the concepts of the JDK java.util.regex.Pattern and de.unkrig.commons.util.pattern.Pattern2 classes as follows: Pattern defines the both the interface of pattern matching and its implementation (regular expressions).
Glob() - Constructor for class de.unkrig.commons.text.pattern.Glob
 
goTo(S) - Method in class de.unkrig.commons.text.scanner.StatefulScanner.Rule
 
group(int) - Method in class de.unkrig.commons.text.StringStream
 

H

hashCode() - Method in class de.unkrig.commons.text.json.Json.Array
 
hashCode() - Method in class de.unkrig.commons.text.json.Json.False
 
hashCode() - Method in class de.unkrig.commons.text.json.Json.Member
 
hashCode() - Method in class de.unkrig.commons.text.json.Json.Null
 
hashCode() - Method in class de.unkrig.commons.text.json.Json.NumbeR
 
hashCode() - Method in class de.unkrig.commons.text.json.Json.ObjecT
 
hashCode() - Method in class de.unkrig.commons.text.json.Json.StrinG
 
hashCode() - Method in class de.unkrig.commons.text.json.Json.True
 

I

IncludeExclude - Class in de.unkrig.commons.text.pattern
 
IncludeExclude() - Constructor for class de.unkrig.commons.text.pattern.IncludeExclude
 
INCLUDES_EXCLUDES - Static variable in class de.unkrig.commons.text.pattern.Glob
Modifies the pattern compilation as follows: ',' and '~' are now metacharacters, i.e. to include them literally in the pattern, they must be escaped with a backslash.
info(String, Object...) - Method in class de.unkrig.commons.text.AbstractPrinter
 
info(String) - Method in class de.unkrig.commons.text.LevelFilteredPrinter
 
info(String) - Method in interface de.unkrig.commons.text.Printer
Prints an informative ("normal") message.
info(String, Object...) - Method in interface de.unkrig.commons.text.Printer
Prints an informative ("normal") message.
info(String) - Static method in class de.unkrig.commons.text.Printers
Prints an informative ("normal") message on the context printer.
info(String, Object...) - Static method in class de.unkrig.commons.text.Printers
Prints an informative ("normal") message on the context printer.
info(String) - Method in class de.unkrig.commons.text.ProxyPrinter
 
info(String, Object...) - Method in class de.unkrig.commons.text.ProxyPrinter
 
info(String) - Method in class de.unkrig.commons.text.WriterPrinter
 
instanceoF(T, Class<?>) - Method in class de.unkrig.commons.text.expression.Parser
 
IntegerPattern - Class in de.unkrig.commons.text.pattern
Matches integer subjects against a pattern.
iterable(NodeList) - Static method in class de.unkrig.commons.text.xml.XmlUtil
 

J

JavaScanner - Class in de.unkrig.commons.text.scanner
A scanner for the JAVA programming language.
JavaScanner.TokenType - Enum in de.unkrig.commons.text.scanner
Token types of the JAVA programming language.
Json - Class in de.unkrig.commons.text.json
The JSON DOM as defined on json.org.
Json.Array - Class in de.unkrig.commons.text.json
Representation of a JSON 'array'.
Json.False - Class in de.unkrig.commons.text.json
Representation of a JSON 'false' literal.
Json.Member - Class in de.unkrig.commons.text.json
Representation of a member of an Json.ObjecT.
Json.Null - Class in de.unkrig.commons.text.json
Representation of a JSON 'null' literal.
Json.NumbeR - Class in de.unkrig.commons.text.json
Representation of a JSON 'number'.
Json.ObjecT - Class in de.unkrig.commons.text.json
Representation of a JSON 'object'.
Json.StrinG - Class in de.unkrig.commons.text.json
Representation of a JSON 'string'.
Json.True - Class in de.unkrig.commons.text.json
Representation of a JSON 'true' literal.
Json.Value - Interface in de.unkrig.commons.text.json
Base for a JSON value.
Json.ValueVisitor - Interface in de.unkrig.commons.text.json
Interface for the implementation of the 'visitor' pattern for a JSON value.
JsonParser - Class in de.unkrig.commons.text.json
Parser for a 'parametrized value' of an HTTP header like: Content-Type: text/plain; charset=ASCII 'text/plain' is the so-called 'token', 'char=ASCII' is a so-called 'parameter'.
JsonParser(ProducerWhichThrows<? extends AbstractScanner.Token<JsonScanner.TokenType>, ? extends ScanException>) - Constructor for class de.unkrig.commons.text.json.JsonParser
 
JsonParser(Reader) - Constructor for class de.unkrig.commons.text.json.JsonParser
 
JsonScanner - Class in de.unkrig.commons.text.json
A JASON scanner; scans tokens as defined on json.org.
JsonScanner.TokenType - Enum in de.unkrig.commons.text.json
Representation of the type of a token.
JsonUnparseVisitor - Class in de.unkrig.commons.text.json
A Json.ValueVisitor which prints a JSON value nicely formatted to a PrintWriter.
JsonUnparseVisitor(PrintWriter, String) - Constructor for class de.unkrig.commons.text.json.JsonUnparseVisitor
 

L

LevelFilteredPrinter - Class in de.unkrig.commons.text
Filters messages by their level; by default only LevelFilteredPrinter.info(String) and higher are printed.
LevelFilteredPrinter() - Constructor for class de.unkrig.commons.text.LevelFilteredPrinter
Uses the AbstractPrinter.getContextPrinter() as the delegate.
LevelFilteredPrinter(Printer) - Constructor for class de.unkrig.commons.text.LevelFilteredPrinter
 
literal(Object) - Method in class de.unkrig.commons.text.expression.Parser
 
logicalAnd(Expression, Expression) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
 
logicalOr(Expression, Expression) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
 

M

matches(String) - Method in class de.unkrig.commons.text.pattern.Glob
 
matches(String) - Method in class de.unkrig.commons.text.pattern.IncludeExclude
All includes and excludes are matched against the subject.
Member(Json.StrinG, Json.Value) - Constructor for class de.unkrig.commons.text.json.Json.Member
 
members - Variable in class de.unkrig.commons.text.json.Json.ObjecT
The (unmodifiable and constant) list of object members.
methodInvocation(T, String, List<T>) - Method in class de.unkrig.commons.text.expression.Parser
 
MUTE_PRINTER - Static variable in class de.unkrig.commons.text.Printers
Ignores all messages.

N

name - Variable in class de.unkrig.commons.text.json.Json.Member
The name of the member.
newArray(Class<?>, List<T>) - Method in class de.unkrig.commons.text.expression.Parser
 
newClass(Class<?>, List<T>) - Method in class de.unkrig.commons.text.expression.Parser
 
newPattern(CharSequence) - Static method in class de.unkrig.commons.text.pattern.IntegerPattern
Parses a pattern like "-3,7-10,12-40,50-".
NONE - Static variable in class de.unkrig.commons.text.pattern.Glob
A Glob that matches no string.
NORMAL_PRINTER - Static variable in class de.unkrig.commons.text.Printers
Prints errors and warnings to System.err, INFO messages to System.out, and ignores VERBOSE and DEBUG messages.
Notations - Class in de.unkrig.commons.text
The methods of this class (in combination of the methods of the Notations.Phrase interface convert between various notations.
Notations.Phrase - Interface in de.unkrig.commons.text
Representation of the result of notation parsing.
NULL - Static variable in interface de.unkrig.commons.text.expression.Expression
An expression which always evaluates to null.
Null() - Constructor for class de.unkrig.commons.text.json.Json.Null
 
NumbeR(String) - Constructor for class de.unkrig.commons.text.json.Json.NumbeR
 

O

ObjecT(List<Json.Member>) - Constructor for class de.unkrig.commons.text.json.Json.ObjecT
 
offset - Variable in class de.unkrig.commons.text.scanner.AbstractScanner
The position within AbstractScanner.cs of the next token to be scanned.
or(Glob, Glob) - Static method in class de.unkrig.commons.text.pattern.Glob
The Glob.matches(String) method of the returned Glob returns whether its subject argument matches pattern1 or, if not, pattern2.

P

parenthesized(T) - Method in class de.unkrig.commons.text.expression.Parser
 
parse(String) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Parses an expression.
parse(ProducerWhichThrows<? extends AbstractScanner.Token<Scanner.TokenType>, ? extends ScanException>) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Parses an expression from a tokenProducer.
parse() - Method in class de.unkrig.commons.text.expression.Parser
 
parse(String) - Static method in class de.unkrig.commons.text.pattern.ExpressionMatchReplacer
Creates and returns a "match replacer" that is suitable for PatternUtil.replaceSome(Matcher, FunctionWhichThrows) and implements the substitution through an Expression.
parse(String, Object...) - Static method in class de.unkrig.commons.text.pattern.ExpressionMatchReplacer
 
parse(String, Mapping<String, ?>, Predicate<String>) - Static method in class de.unkrig.commons.text.pattern.ExpressionMatchReplacer
Creates and returns a "match replacer" that is suitable for PatternUtil.replaceSome(Matcher, FunctionWhichThrows) and implements the substitution through an Expression.
parse(DocumentBuilder, File, String) - Static method in class de.unkrig.commons.text.xml.XmlUtil
A drop-in replacement for DocumentBuilder.parse(File), where each node of the parsed DOM contains location information.
parse(DocumentBuilder, InputSource) - Static method in class de.unkrig.commons.text.xml.XmlUtil
A drop-in replacement for DocumentBuilder.parse(InputSource), where each node of the parsed DOM contains location information.
parseArray() - Method in class de.unkrig.commons.text.json.JsonParser
array := '[' [ value { ',' value } ] ']'
ParseException - Exception in de.unkrig.commons.text.parser
Indicates a problem that has occurred when a document was parsed.
ParseException(String) - Constructor for exception de.unkrig.commons.text.parser.ParseException
 
ParseException(Throwable) - Constructor for exception de.unkrig.commons.text.parser.ParseException
 
ParseException(String, Throwable) - Constructor for exception de.unkrig.commons.text.parser.ParseException
 
parseObject() - Method in class de.unkrig.commons.text.json.JsonParser
object := '{' [ member { ',' member } ] '}' member := string ':' value
parsePart(CharSequence, int[]) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Parses an expression from the spec, but only as far as it is possible without a parse error.
parsePart() - Method in class de.unkrig.commons.text.expression.Parser
 
parsePatternAndReplacement(String) - Static method in class de.unkrig.commons.text.pattern.Pattern2
Splits the given string into "pattern" and "replacement".
parser(String) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
 
parser(ProducerWhichThrows<? extends AbstractScanner.Token<Scanner.TokenType>, ? extends ScanException>) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
 
Parser<T,EX extends Throwable> - Class in de.unkrig.commons.text.expression
Parses an expression like s == "abc" && (c == 'b' || !
Parser(ProducerWhichThrows<? extends AbstractScanner.Token<Scanner.TokenType>, ? extends ScanException>) - Constructor for class de.unkrig.commons.text.expression.Parser
 
Parser(Reader) - Constructor for class de.unkrig.commons.text.expression.Parser
 
Parser(String) - Constructor for class de.unkrig.commons.text.expression.Parser
 
Parser.BinaryOperator - Enum in de.unkrig.commons.text.expression
Representation of all binary operators.
Parser.Extension - Enum in de.unkrig.commons.text.expression
Various extensions to the Java expression syntax.
Parser.UnaryOperator - Enum in de.unkrig.commons.text.expression
Representation of all unary operators.
parseValue() - Method in class de.unkrig.commons.text.json.JsonParser
value := string | number | object | array | 'true' | 'false' | 'null'
Pattern2 - Class in de.unkrig.commons.text.pattern
This class extends the concepts of the JDK java.util.regex.Pattern class with a new Pattern2.WILDCARD compilation flag, which modifies the pattern compilation such that it combines the well-known wildcard pattern matching with the power of regular expressions.
PatternUtil - Class in de.unkrig.commons.text.pattern
Pattern-related utility methods.
peek() - Method in class de.unkrig.commons.text.parser.AbstractParser
Checks the next token, but does not consume it.
peek(TT) - Method in class de.unkrig.commons.text.parser.AbstractParser
Checks the next token, but does not consume it.
peek(String) - Method in class de.unkrig.commons.text.parser.AbstractParser
Checks the next token, but does not consume it.
peek(Object...) - Method in class de.unkrig.commons.text.parser.AbstractParser
Checks the next token, but does not consume it.
peek() - Method in class de.unkrig.commons.text.StringStream
 
peek(String) - Method in class de.unkrig.commons.text.StringStream
 
peek(Pattern) - Method in class de.unkrig.commons.text.StringStream
 
peekRead(TT) - Method in class de.unkrig.commons.text.parser.AbstractParser
Checks the next token and consumes it if its type is tokenType.
peekRead(String) - Method in class de.unkrig.commons.text.parser.AbstractParser
Checks the next token and consumes it if it matches.
peekRead(String...) - Method in class de.unkrig.commons.text.parser.AbstractParser
Checks the next token and consumes it if it matches.
peekRead(TT...) - Method in class de.unkrig.commons.text.parser.AbstractParser
Checks the next token and consumes it if its type is one of the tokenTypes.
peekRead(String) - Method in class de.unkrig.commons.text.StringStream
Consumes the next string iff it equals the expected string.
peekRead(Pattern) - Method in class de.unkrig.commons.text.StringStream
Consumes the next string iff it matches the given pattern.
peekRead(String...) - Method in class de.unkrig.commons.text.StringStream
Consumes the next string iff it equals one of the expected strings.
peekReadEnum(T...) - Method in class de.unkrig.commons.text.parser.AbstractParser
Checks the next token and consumes it if its text equals the return value of toString() of one of the values.
pop() - Method in class de.unkrig.commons.text.scanner.StatefulScanner.Rule
Restores a previously pushed state.
prepend(String...) - Method in interface de.unkrig.commons.text.Notations.Phrase
 
prependExclude(Glob) - Method in class de.unkrig.commons.text.pattern.IncludeExclude
Deprecated.
Equivalent with addExclude(exclude, true)
prependInclude(Glob) - Method in class de.unkrig.commons.text.pattern.IncludeExclude
Deprecated.
Equivalent with addInclude(include, true)
previousTokenOffset - Variable in class de.unkrig.commons.text.scanner.AbstractScanner
The position within AbstractScanner.cs of the previously scanned token.
Printer - Interface in de.unkrig.commons.text
A very generic interface for applications to "print messages".
Printers - Class in de.unkrig.commons.text
A super-simple API for managing output of different kinds.
produce() - Method in class de.unkrig.commons.text.scanner.StatefulScanner
 
produce() - Method in class de.unkrig.commons.text.scanner.StatelessScanner
 
produce() - Method in interface de.unkrig.commons.text.scanner.StringScanner
Before StringScanner.setInput(CharSequence) is called, this method returns null.
ProxyPrinter - Class in de.unkrig.commons.text
An AbstractPrinter that farwards all method calls to a delegate printer.
ProxyPrinter() - Constructor for class de.unkrig.commons.text.ProxyPrinter
Uses the AbstractPrinter.getContextPrinter() as the delegate.
ProxyPrinter(Printer) - Constructor for class de.unkrig.commons.text.ProxyPrinter
 
push(S) - Method in class de.unkrig.commons.text.scanner.StatefulScanner.Rule
Saves the current state and changes to the nextState.

R

rawStringScanner() - Static method in class de.unkrig.commons.text.json.JsonScanner
Returns a Java scanner that also produces SPACE and COMMENT tokens.
rawStringScanner() - Static method in class de.unkrig.commons.text.scanner.JavaScanner
Returns a Java scanner that also produces SPACE and COMMENT tokens.
read() - Method in class de.unkrig.commons.text.parser.AbstractParser
Consumes the next token.
read(TT) - Method in class de.unkrig.commons.text.parser.AbstractParser
Consumes the next token.
read(String) - Method in class de.unkrig.commons.text.parser.AbstractParser
Consumes the next token.
read(Object...) - Method in class de.unkrig.commons.text.parser.AbstractParser
Consumes the next token.
read() - Method in class de.unkrig.commons.text.StringStream
Verifies that the next string is not null, and consumes it.
read(String) - Method in class de.unkrig.commons.text.StringStream
Verifies that the next string equals the given expected string, and consumes it.
read(Pattern) - Method in class de.unkrig.commons.text.StringStream
Verifies that the next string matches the given pattern.
readRest() - Method in class de.unkrig.commons.text.StringStream
Consumes and returns all remaining elements.
redirect(AbstractPrinter.Level, Writer) - Method in class de.unkrig.commons.text.AbstractPrinter
Creates and returns an AbstractPrinter which writes messages of the given levelto the given writer, and forwards all other messages to this AbstractWriter.
redirect(EnumSet<AbstractPrinter.Level>, Writer) - Method in class de.unkrig.commons.text.AbstractPrinter
Creates and returns an AbstractPrinter which writes messages of the given levelsto the given writer, and forwards all other messages to this AbstractWriter.
redirect(AbstractPrinter.Level, ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
Creates and returns an AbstractPrinter which sends all non-null messages of the given levelto the given messageConsumer, and forwards all other messages to this AbstractWriter.
redirect(EnumSet<AbstractPrinter.Level>, ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
Creates and returns an AbstractPrinter which sends all non-null messages of the given levelsto the given messageConsumer, and forwards all other messages to this AbstractWriter.
redirectDebug(Writer) - Method in class de.unkrig.commons.text.AbstractPrinter
 
redirectDebug(ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
 
redirectError(Writer) - Method in class de.unkrig.commons.text.AbstractPrinter
 
redirectError(ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
 
redirectInfo(Writer) - Method in class de.unkrig.commons.text.AbstractPrinter
 
redirectInfo(ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
 
redirectInfo(Writer, RunnableWhichThrows<EX>) - Static method in class de.unkrig.commons.text.Printers
Deprecated.
redirectInfo(ConsumerWhichThrows<? super String, ? extends RuntimeException>, RunnableWhichThrows<? extends EX>) - Static method in class de.unkrig.commons.text.Printers
redirectInfoToFile(File, Charset, RunnableWhichThrows<EX>) - Static method in class de.unkrig.commons.text.Printers
redirectToFile(AbstractPrinter.Level, File, Charset, RunnableWhichThrows<EX>) - Static method in class de.unkrig.commons.text.Printers
Runs the runnable with messages of the given level redirected into the file.
redirectToFile(EnumSet<AbstractPrinter.Level>, File, Charset, Printer, RunnableWhichThrows<EX>) - Static method in class de.unkrig.commons.text.Printers
Runs the runnable with messages of the given levels redirected into the file.
redirectVerbose(Writer) - Method in class de.unkrig.commons.text.AbstractPrinter
 
redirectVerbose(ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
 
redirectWarn(Writer) - Method in class de.unkrig.commons.text.AbstractPrinter
 
redirectWarn(ConsumerWhichThrows<? super String, ? extends RuntimeException>) - Method in class de.unkrig.commons.text.AbstractPrinter
 
REMAIN - Variable in class de.unkrig.commons.text.scanner.StatefulScanner
Special value for some method parameters; indicates that the current state should remain when the rule applies.
replace(String) - Method in class de.unkrig.commons.text.pattern.Glob
Iff the subject matches this Glob, then a non-null string ist returned; the algorithm that computes that string depends on the concrete Glob implementation; the default implementation simply returns the subject.
replace(String) - Method in class de.unkrig.commons.text.pattern.IncludeExclude
The subject is transformed by all matching includes, until an exclude matches.
replaceAll(Reader, Pattern, String, Appendable) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
Reads text from in, replaces all matches of pattern according to the replacementString, and writes the result to out.
replaceAllFilterReader(Reader, Pattern, FunctionWhichThrows<? super Matcher, ? extends CharSequence, ? extends IOException>) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
Creates and returns a filter Reader which replaces matches of the pattern within the character stream on-the-fly through the matchReplacer.
replaceAllFilterWriter(Pattern, FunctionWhichThrows<? super Matcher, ? extends CharSequence, ? extends IOException>, Appendable) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
Creates and returns a filter Writer which replaces matches of the pattern within the character stream on-the-fly through the matchReplacer.
REPLACEMENT - Static variable in class de.unkrig.commons.text.pattern.Glob
Modifies the pattern compilation as follows: '=' is now a metacharacter, i.e. to include it literally in the pattern, it must be escaped with a backslash.
replacementStringMatchReplacer(String) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
 
replacementStringReplacer(String) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
replaceSome(Matcher, String) - Static method in class de.unkrig.commons.text.pattern.ExpressionMatchReplacer
Substitutes all matches of the matcher with the value of an expression.
replaceSome(Matcher, FunctionWhichThrows<? super Matcher, ? extends CharSequence, ? extends EX>) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
The generalized form of Matcher.replaceAll(String): The replacement for a match is not formed from a "replacement string" (with variables "$0", "$1", ...), but is computed by the matchReplacer.
replaceSome(Reader, Pattern, FunctionWhichThrows<? super Matcher, ? extends CharSequence, ? extends EX>, Appendable, int) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
Reads characters from in, finds all matches of pattern, replaces each match with the result of the matchReplacer, and writes the result to out.
replaceSystemProperties(Reader, Appendable) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
Reads text from in, replaces all matches of "${system-property-name}" with the value of the system property, and writes the result to out.
run(Runnable) - Method in class de.unkrig.commons.text.AbstractPrinter
Sets the current thread's context printer to this, runs the runnable, and eventually restores the original context printer.
run(RunnableWhichThrows<EX>) - Method in class de.unkrig.commons.text.AbstractPrinter
Sets the current thread's context printer to this, runs the runnable, and eventually restores the original context printer.

S

ScanException - Exception in de.unkrig.commons.text.scanner
Indicates a problem that occurred when a token was scanned from a document.
ScanException(String) - Constructor for exception de.unkrig.commons.text.scanner.ScanException
 
ScanException(Throwable) - Constructor for exception de.unkrig.commons.text.scanner.ScanException
 
Scanner - Class in de.unkrig.commons.text.expression
The scanner for the ExpressionEvaluator.
scanner - Variable in class de.unkrig.commons.text.parser.AbstractParser
The source of tokens that are processed by this parser.
scanner(StringScanner<TT>, File, Charset) - Static method in class de.unkrig.commons.text.scanner.ScannerUtil
Uses a given StringScanner to scan the contents of a given file.
Scanner.TokenType - Enum in de.unkrig.commons.text.expression
Token types for the ExpressionEvaluator scanner.
ScannerUtil - Class in de.unkrig.commons.text.scanner
Various scanner-related utility methods.
setClassLoader(ClassLoader) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
 
setClassLoader(ClassLoader) - Method in class de.unkrig.commons.text.expression.Parser
 
setCurrentState(S) - Method in class de.unkrig.commons.text.scanner.StatefulScanner
 
setDebug() - Method in class de.unkrig.commons.text.LevelFilteredPrinter
Print all messages (errors, warnings, info, verbose and debug).
setErr(Writer) - Method in class de.unkrig.commons.text.WriterPrinter
 
setExtensions(Collection<Parser.Extension>) - Method in class de.unkrig.commons.text.expression.Parser
Sets the given parsing extensions.
setExtensions(EnumSet<Parser.Extension>) - Method in class de.unkrig.commons.text.expression.Parser
Sets the given parsing extensions.
setImports(String[]) - Method in class de.unkrig.commons.text.expression.ExpressionEvaluator
 
setImports(String[]) - Method in class de.unkrig.commons.text.expression.Parser
By default, there is only one import: "java.lang".
setInput(CharSequence) - Method in class de.unkrig.commons.text.scanner.AbstractScanner
 
setInput(CharSequence) - Method in interface de.unkrig.commons.text.scanner.StringScanner
 
setNoError() - Method in class de.unkrig.commons.text.LevelFilteredPrinter
Suppress all messages.
setNormal() - Method in class de.unkrig.commons.text.LevelFilteredPrinter
Revert to default settings.
setNoWarn() - Method in class de.unkrig.commons.text.LevelFilteredPrinter
Suppress all messages but errors.
setOut(Writer) - Method in class de.unkrig.commons.text.WriterPrinter
 
setQuiet() - Method in class de.unkrig.commons.text.LevelFilteredPrinter
Suppress "normal" output; print only errors and warnings.
setVerbose() - Method in class de.unkrig.commons.text.LevelFilteredPrinter
Print all messages (errors, warnings, infos and verbose) except debug.
StatefulScanner<TT extends Enum<TT>,S extends Enum<S>> - Class in de.unkrig.commons.text.scanner
A scanner that produces Tokens from a character stream.
StatefulScanner(Class<S>) - Constructor for class de.unkrig.commons.text.scanner.StatefulScanner
 
StatefulScanner(StatefulScanner<TT, S>) - Constructor for class de.unkrig.commons.text.scanner.StatefulScanner
Clones the configuration of the other scanner, but has a separate state.
StatefulScanner.Rule - Class in de.unkrig.commons.text.scanner
 
StatelessScanner<TT extends Enum<TT>> - Class in de.unkrig.commons.text.scanner
A scanner that produces AbstractScanner.Tokens.
StatelessScanner() - Constructor for class de.unkrig.commons.text.scanner.StatelessScanner
 
staticFieldReference(Class<?>, String) - Method in class de.unkrig.commons.text.expression.Parser
 
staticMethodInvocation(Class<?>, String, List<T>) - Method in class de.unkrig.commons.text.expression.Parser
 
StrinG(String) - Constructor for class de.unkrig.commons.text.json.Json.StrinG
 
stringScanner() - Static method in class de.unkrig.commons.text.expression.Scanner
 
stringScanner() - Static method in class de.unkrig.commons.text.json.JsonScanner
 
stringScanner() - Static method in class de.unkrig.commons.text.scanner.JavaScanner
 
StringScanner<TT extends Enum<TT>> - Interface in de.unkrig.commons.text.scanner
A scanner which has a notion of an 'offset' where the previously scanned token starts.
stringScanner() - Static method in class de.unkrig.commons.text.scanner.XmlScanner
 
StringStream<EX extends Throwable> - Class in de.unkrig.commons.text
An entity that allows REGEX-based analysis of the products of a delegate ProducerWhichThrows<String>.
StringStream(ProducerWhichThrows<? extends String, ? extends EX>) - Constructor for class de.unkrig.commons.text.StringStream
 
StringStream(ProducerWhichThrows<? extends String, ? extends EX>, String) - Constructor for class de.unkrig.commons.text.StringStream
 
StringStream.UnexpectedElementException - Exception in de.unkrig.commons.text
Indication that a string is not as expected.
substitutionCount() - Method in class de.unkrig.commons.text.pattern.Substitutor
 
substitutor(Pattern, String) - Static method in class de.unkrig.commons.text.pattern.PatternUtil
Creates and returns a Substitutor which replaces Pattern matches in a stream of strings through the replacementString.
Substitutor<EX extends Throwable> - Class in de.unkrig.commons.text.pattern
Replaces pattern matches in a stream of strings ("chunks").
Substitutor(Pattern, FunctionWhichThrows<? super Matcher, ? extends CharSequence, ? extends EX>) - Constructor for class de.unkrig.commons.text.pattern.Substitutor
 
Substitutor(Pattern, FunctionWhichThrows<? super Matcher, ? extends CharSequence, ? extends EX>, int) - Constructor for class de.unkrig.commons.text.pattern.Substitutor
 
suppress(TT) - Method in class de.unkrig.commons.text.scanner.AbstractScanner
Creates and returns a producer which skips tokens of the suppressedTokenType.
suppress(Collection<TT>) - Method in class de.unkrig.commons.text.scanner.AbstractScanner
Creates and returns a producer which skips tokens of the suppressedTokenTypes.
SYSTEM_PROPERTY_MATCH_REPLACER - Static variable in class de.unkrig.commons.text.pattern.PatternUtil
A match replacer which returns the value of the system property named by group #1 of the match.
systemPropertyReplacer() - Static method in class de.unkrig.commons.text.pattern.PatternUtil

T

text - Variable in class de.unkrig.commons.text.json.Json.StrinG
The (decoded) text of the JSON string.
text - Variable in class de.unkrig.commons.text.scanner.AbstractScanner.Token
The text of this token, exactly as read from the document.
to(Object, Class<T>) - Static method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Converts the given subject to the given targetType.
toBoolean(Object) - Static method in class de.unkrig.commons.text.expression.ExpressionEvaluator
 
toDocumentScanner(StringScanner<TT>, Reader) - Static method in class de.unkrig.commons.text.scanner.ScannerUtil
Converts the StringScanner, which reads from a CharSequence into a DocumentScanner, which reads from a Reader and thinks in "line numbers" and "column numbers").
toHyphenSeparated(String) - Static method in class de.unkrig.commons.text.CamelCase
Deprecated.
Breaks the string up into words at upper-case letters, and the concatenates the words with hyphens.
Token(TT, String) - Constructor for class de.unkrig.commons.text.scanner.AbstractScanner.Token
 
Token(TT, String, String[]) - Constructor for class de.unkrig.commons.text.scanner.AbstractScanner.Token
 
toLowerCamelCase(String) - Static method in class de.unkrig.commons.text.CamelCase
Deprecated.
 
toLowerCamelCase() - Method in interface de.unkrig.commons.text.Notations.Phrase
Converts the first word to lower case, converts the first letter of each following word to upper case, the rest of the word to lower case, and concatenates the words.
toLowerCaseHyphenated() - Method in interface de.unkrig.commons.text.Notations.Phrase
Converts the words to lower case and concatenates them with "-" as the separator.
toLowerCaseUnderscored() - Method in interface de.unkrig.commons.text.Notations.Phrase
Converts the words to lower case and concatenates them with "_" as the separator.
toPredicate(Expression, String) - Static method in class de.unkrig.commons.text.expression.ExpressionUtil
 
toPrimitive(Object, Class<T>) - Static method in class de.unkrig.commons.text.expression.ExpressionEvaluator
Converts the given subject to the given primitive target type.
toString(Object) - Static method in class de.unkrig.commons.text.expression.ExpressionEvaluator
 
toString() - Method in enum de.unkrig.commons.text.expression.Parser.BinaryOperator
 
toString() - Method in enum de.unkrig.commons.text.expression.Parser.UnaryOperator
 
toString() - Method in class de.unkrig.commons.text.pattern.IncludeExclude
 
toString() - Method in class de.unkrig.commons.text.scanner.AbstractScanner.Token
 
toString() - Method in class de.unkrig.commons.text.scanner.AbstractScanner
 
toString() - Method in interface de.unkrig.commons.text.scanner.DocumentScanner
 
toString() - Method in class de.unkrig.commons.text.scanner.StatefulScanner.Rule
 
toString(Node) - Static method in class de.unkrig.commons.text.xml.XmlUtil
The "toString()" method of class Node does not produce very impressing results; this methods is a plug-in substitute.
toUpperCamelCase(String) - Static method in class de.unkrig.commons.text.CamelCase
Deprecated.
 
toUpperCamelCase() - Method in interface de.unkrig.commons.text.Notations.Phrase
Converts the first letter of each word to upper case, the rest of each word to lower case, and concatenates them.
toUpperCaseHyphenated() - Method in interface de.unkrig.commons.text.Notations.Phrase
Converts the words to upper case and concatenates them with "-" as the separator.
toUpperCaseUnderscored() - Method in interface de.unkrig.commons.text.Notations.Phrase
Converts the words to upper case and concatenates them with "_" as the separator.
toUpperCaseUnderscoreSeparated(String) - Static method in class de.unkrig.commons.text.CamelCase
Deprecated.
Converts the camel-case string s into a capitalized string with words separated with underscores.
transform(CharSequence) - Method in class de.unkrig.commons.text.pattern.Substitutor
Substitutes all matches in the subject and returns it.
TRUE - Static variable in interface de.unkrig.commons.text.expression.Expression
An expression which always evaluates to true.
True() - Constructor for class de.unkrig.commons.text.json.Json.True
 
type - Variable in class de.unkrig.commons.text.scanner.AbstractScanner.Token
The type of this token.

U

unaryOperation(Parser.UnaryOperator, T) - Method in class de.unkrig.commons.text.expression.Parser
 
unescape(String, int) - Static method in class de.unkrig.commons.text.scanner.ScannerUtil
 
UNESCAPE_DOUBLE_QUOTE - Static variable in class de.unkrig.commons.text.scanner.ScannerUtil
If set, \" escapes to a double quote, otherwise it is an invalid escape sequence.
UNESCAPE_NUL - Static variable in class de.unkrig.commons.text.scanner.ScannerUtil
If set, "\023" escapes to '\0', '2', '3', otherwise, if 16, it escapes to '#', otherwise, it is an invalid escape sequence.
UNESCAPE_OCTAL - Static variable in class de.unkrig.commons.text.scanner.ScannerUtil
If set, "\123" escapes to "S", otherwise it is an invalid escape sequence (but see ScannerUtil.UNESCAPE_NUL).
UNESCAPE_SINGLE_QUOTE - Static variable in class de.unkrig.commons.text.scanner.ScannerUtil
If set, \' escapes to a single quote, otherwise it is an invalid escape sequence.
UNESCAPE_UNICODE - Static variable in class de.unkrig.commons.text.scanner.ScannerUtil
If set, "\uxxxx" escapes to the unicode character 'xxxx', otherwise it is an invalid escape sequence.
UnexpectedElementException(String) - Constructor for exception de.unkrig.commons.text.StringStream.UnexpectedElementException
 
unicodeEscapesDecodingReader(Reader) - Static method in class de.unkrig.commons.text.scanner.JavaScanner
A FilterReader that recognizes "unicode escapes" (backslash, 'u' and four hex digits), and decodes them on-the-fly.
unread(AbstractScanner.Token<TT>) - Method in class de.unkrig.commons.text.parser.AbstractParser
Modifies this parser such that t will appear as the "next token" before the actual next token.

V

value - Variable in class de.unkrig.commons.text.json.Json.Member
The value of the member.
value - Variable in class de.unkrig.commons.text.json.Json.NumbeR
The value of the JSON number; either a Long or a Double.
valueOf(String) - Static method in enum de.unkrig.commons.text.AbstractPrinter.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.unkrig.commons.text.expression.Parser.BinaryOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.unkrig.commons.text.expression.Parser.Extension
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.unkrig.commons.text.expression.Parser.UnaryOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.unkrig.commons.text.expression.Scanner.TokenType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.unkrig.commons.text.json.JsonScanner.TokenType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.unkrig.commons.text.scanner.JavaScanner.TokenType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.unkrig.commons.text.scanner.XmlScanner.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.unkrig.commons.text.scanner.XmlScanner.TokenType
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.unkrig.commons.text.AbstractPrinter.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.unkrig.commons.text.expression.Parser.BinaryOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.unkrig.commons.text.expression.Parser.Extension
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.unkrig.commons.text.expression.Parser.UnaryOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.unkrig.commons.text.expression.Scanner.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.unkrig.commons.text.json.JsonScanner.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.unkrig.commons.text.scanner.JavaScanner.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.unkrig.commons.text.scanner.XmlScanner.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.unkrig.commons.text.scanner.XmlScanner.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
variableReference(String) - Method in class de.unkrig.commons.text.expression.Parser
 
verbose(String, Object...) - Method in class de.unkrig.commons.text.AbstractPrinter
 
verbose(String) - Method in class de.unkrig.commons.text.LevelFilteredPrinter
 
verbose(String) - Method in interface de.unkrig.commons.text.Printer
Prints a verbose message.
verbose(String, Object...) - Method in interface de.unkrig.commons.text.Printer
Prints a verbose message.
verbose(String) - Static method in class de.unkrig.commons.text.Printers
Prints a verbose message on the context printer.
verbose(String, Object...) - Static method in class de.unkrig.commons.text.Printers
Prints a verbose message on the context printer.
verbose(String) - Method in class de.unkrig.commons.text.ProxyPrinter
 
verbose(String, Object...) - Method in class de.unkrig.commons.text.ProxyPrinter
 
verbose(String) - Method in class de.unkrig.commons.text.WriterPrinter
 
visit(Json.StrinG) - Method in interface de.unkrig.commons.text.json.Json.ValueVisitor
visit(Json.NumbeR) - Method in interface de.unkrig.commons.text.json.Json.ValueVisitor
visit(Json.ObjecT) - Method in interface de.unkrig.commons.text.json.Json.ValueVisitor
visit(Json.Array) - Method in interface de.unkrig.commons.text.json.Json.ValueVisitor
visit(Json.True) - Method in interface de.unkrig.commons.text.json.Json.ValueVisitor
visit(Json.False) - Method in interface de.unkrig.commons.text.json.Json.ValueVisitor
visit(Json.Null) - Method in interface de.unkrig.commons.text.json.Json.ValueVisitor
visit(Json.StrinG) - Method in class de.unkrig.commons.text.json.JsonUnparseVisitor
 
visit(Json.NumbeR) - Method in class de.unkrig.commons.text.json.JsonUnparseVisitor
 
visit(Json.ObjecT) - Method in class de.unkrig.commons.text.json.JsonUnparseVisitor
 
visit(Json.Array) - Method in class de.unkrig.commons.text.json.JsonUnparseVisitor
 
visit(Json.True) - Method in class de.unkrig.commons.text.json.JsonUnparseVisitor
 
visit(Json.False) - Method in class de.unkrig.commons.text.json.JsonUnparseVisitor
 
visit(Json.Null) - Method in class de.unkrig.commons.text.json.JsonUnparseVisitor
 

W

warn(String, Object...) - Method in class de.unkrig.commons.text.AbstractPrinter
 
warn(String) - Method in class de.unkrig.commons.text.LevelFilteredPrinter
 
warn(String) - Method in interface de.unkrig.commons.text.Printer
Prints a warning condition.
warn(String, Object...) - Method in interface de.unkrig.commons.text.Printer
Prints a warning condition.
warn(String) - Static method in class de.unkrig.commons.text.Printers
Prints a warning condition on the context printer.
warn(String, Object...) - Static method in class de.unkrig.commons.text.Printers
Prints a warning condition on the context printer.
warn(String) - Method in class de.unkrig.commons.text.ProxyPrinter
 
warn(String, Object...) - Method in class de.unkrig.commons.text.ProxyPrinter
 
warn(String) - Method in class de.unkrig.commons.text.WriterPrinter
 
WILDCARD - Static variable in class de.unkrig.commons.text.pattern.Pattern2
Modifies the pattern compilation as follows: The meaning of the '*' and '?'
withPrinter(Printer, Runnable) - Static method in class de.unkrig.commons.text.Printers
Deprecated.
withPrinter(Printer, RunnableWhichThrows<EX>) - Static method in class de.unkrig.commons.text.Printers
WriterPrinter - Class in de.unkrig.commons.text
A printer that prints its messages to two Writers
WriterPrinter() - Constructor for class de.unkrig.commons.text.WriterPrinter
 

X

XmlScanner - Class in de.unkrig.commons.text.scanner
A scanner for XML.
XmlScanner.State - Enum in de.unkrig.commons.text.scanner
 
XmlScanner.TokenType - Enum in de.unkrig.commons.text.scanner
 
XmlUtil - Class in de.unkrig.commons.text.xml
Utiltity methods related to the JRE's org.xml.
A B C D E F G H I J L M N O P R S T U V W X 
Skip navigation links

Copyright © 2018 Arno Unkrig. All rights reserved.