- accept(T) - Method in interface de.larssh.utils.function.ThrowingConsumer
-
Performs this operation on the given argument, allow throwing any kind of
Exception
.
- acceptThrowing(T) - Method in interface de.larssh.utils.function.ThrowingConsumer
-
Performs this operation on the given argument, allow throwing any kind of
Exception
.
- ACCESS_EXTERNAL_DTD - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.JDK
-
Restrict access to external DTDs and external Entity References to the
protocols specified.
- ACCESS_EXTERNAL_SCHEMA - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.JDK
-
Restrict access to the protocols specified for external reference set by the
schemaLocation attribute, Import and Include element.
- ACCESS_EXTERNAL_STYLESHEET - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.JDK
-
Restrict access to the protocols specified for external references set by the
stylesheet processing instruction, Import and Include element, and document
function.
- add(E) - Method in class de.larssh.utils.collection.ProxiedCollection
- add(int, E) - Method in class de.larssh.utils.collection.ProxiedList
- add(E) - Method in class de.larssh.utils.collection.ProxiedListIterator
- add(CsvRow) - Method in class de.larssh.utils.text.Csv
- add(List<String>) - Method in class de.larssh.utils.text.Csv
-
Adds the specified CSV row to the this CSV object.
- add(int, CsvRow) - Method in class de.larssh.utils.text.Csv
- addAll(Collection<? extends E>) - Method in class de.larssh.utils.collection.ProxiedCollection
- addAll(int, Collection<? extends E>) - Method in class de.larssh.utils.collection.ProxiedList
- addAll(Collection<? extends CsvRow>) - Method in class de.larssh.utils.text.Csv
- addAll(int, Collection<? extends CsvRow>) - Method in class de.larssh.utils.text.Csv
- addAllList(Collection<? extends List<String>>) - Method in class de.larssh.utils.text.Csv
-
Adds all of the CSV rows in collection
to this CSV object.
- addNonProxyHosts(String...) - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Appends all of nonProxyHosts
to the current protocols
nonProxyHosts
property if it is not already present.
- ALLOW_DTD_EVENTS_AFTER_ENDDTD - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.XInclude
-
true
(default): Allows notationDecl
and
unparsedEntityDecl
events to be sent in the XNI pipeline after the
endDTD
event has been sent.
- ALLOW_JAVA_ENCODINGS - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Allow Java encoding names in XMLDecl
and
TextDecl
line.
- apply(T) - Method in interface de.larssh.utils.function.ThrowingFunction
-
Applies this function to the given argument, allow throwing any kind of
Exception
.
- applyAsDouble(double) - Method in interface de.larssh.utils.function.DoubleToDoubleFunction
-
Applies this function to the given argument.
- applyAsInt(int) - Method in interface de.larssh.utils.function.IntToIntFunction
-
Applies this function to the given argument.
- applyAsLong(long) - Method in interface de.larssh.utils.function.LongToLongFunction
-
Applies this function to the given argument.
- applyThrowing(T) - Method in interface de.larssh.utils.function.ThrowingFunction
-
Applies this function to the given argument, allow throwing any kind of
Exception
.
- asList(NodeList) - Static method in class de.larssh.utils.dom.NodeLists
-
Converts
nodeList
into a
List
.
- AutoCompletable - Class in de.larssh.utils
-
This class implements a boolean completed
status, allowing objects to
differentiate between an initialization phase and their final value.
- AutoCompletable() - Constructor for class de.larssh.utils.AutoCompletable
-
- CachingSupplier(Supplier<T>) - Constructor for class de.larssh.utils.Finals.CachingSupplier
-
Creates a new CachingSupplier
instance.
- call(Reflect, String, Object...) - Static method in class de.larssh.utils.test.Reflects
-
Calls Reflect.call(String, Object...)
to call a method by its name.
- canEqual(Object) - Method in class de.larssh.utils.Either
-
- canEqual(Object) - Method in class de.larssh.utils.text.CsvRow
-
- canEqual(Object) - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
-
- CDATA_SECTION_ELEMENTS - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.XML
-
Specifies a whitespace delimited list of the names of elements whose text
node children should be output using CDATA sections.
- Characters - Class in de.larssh.utils.text
-
This class contains helper methods for
Character
.
- checkpoint(String) - Method in class de.larssh.utils.time.CloseableStopwatch
-
Adds a new checkpoint referenced by name
.
- checkpoint(String) - Method in class de.larssh.utils.time.LoggingStopwatch
-
Adds a new checkpoint referenced by name
.
- checkpoint(String) - Method in class de.larssh.utils.time.Stopwatch
-
Adds a new checkpoint referenced by name
.
- Checkpoint(Stopwatch, String, Instant, Optional<Stopwatch.Checkpoint>) - Constructor for class de.larssh.utils.time.Stopwatch.Checkpoint
-
Creates a new Checkpoint
instance.
- classOutputProperty(String) - Static method in class de.larssh.utils.xml.TransformerOutputProperty
-
- clear() - Method in class de.larssh.utils.collection.Maps.Builder
-
- clear() - Method in class de.larssh.utils.collection.ProxiedCollection
- clear() - Method in class de.larssh.utils.collection.ProxiedMap
- close() - Method in class de.larssh.utils.AutoCompletable
-
- close() - Method in class de.larssh.utils.io.MultiInputStream
- close() - Method in class de.larssh.utils.io.MultiReader
- close() - Method in class de.larssh.utils.io.PeekableReader
- close() - Method in class de.larssh.utils.time.CloseableStopwatch
- close() - Method in class de.larssh.utils.time.LoggingStopwatch
- CloseableStopwatch - Class in de.larssh.utils.time
-
Abstract and synchronized implementation of a closeable
Stopwatch
.
- CloseableStopwatch() - Constructor for class de.larssh.utils.time.CloseableStopwatch
-
Abstract and synchronized implementation of a closeable
Stopwatch
.
- Collectors - Class in de.larssh.utils
-
This class contains helper methods for
Collector
.
- comparator() - Static method in class de.larssh.utils.Optionals
-
- comparator(Comparator<? super T>) - Static method in class de.larssh.utils.Optionals
-
- comparator(Function<T, Optional<U>>) - Static method in class de.larssh.utils.Optionals
-
- compareIgnoreCase(char, char) - Static method in class de.larssh.utils.text.Characters
-
Compares two char
values lexicographically, ignoring case
differences.
- compareIgnoreCaseAscii(char, char) - Static method in class de.larssh.utils.text.Characters
-
Compares two char
values, ignoring case differences in the ASCII
range.
- compareIgnoreCaseAscii(CharSequence, CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Compares two strings, ignoring case differences in the ASCII range.
- compareTo(Stopwatch.Checkpoint) - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
- Completable - Class in de.larssh.utils
-
Implementation of a boolean completed
status, allowing objects to
differentiate between an initialization phase and their final value.
- Completable() - Constructor for class de.larssh.utils.Completable
-
- complete() - Method in class de.larssh.utils.Completable
-
Finishes the objects initialization phase.
- CompletedException - Exception in de.larssh.utils
-
Thrown to indicate that an object has been completed prior modifying.
- CompletedException() - Constructor for exception de.larssh.utils.CompletedException
-
- compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class de.larssh.utils.collection.Maps.Builder
-
- computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class de.larssh.utils.collection.Maps.Builder
-
- computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class de.larssh.utils.collection.Maps.Builder
-
- consecutive(Iterable<T>, BiPredicate<List<T>, T>) - Static method in class de.larssh.utils.text.Lines
-
Creates lists of consecutive lines based on lines
.
- consecutive(Iterator<T>, BiPredicate<List<T>, T>) - Static method in class de.larssh.utils.text.Lines
-
Creates lists of consecutive lines based on lines
.
- consecutive(Stream<T>, BiPredicate<List<T>, T>) - Static method in class de.larssh.utils.text.Lines
-
Creates lists of consecutive lines based on lines
.
- constant(T) - Static method in class de.larssh.utils.Finals
-
Returns value
unchanged.
- contains(Object) - Method in class de.larssh.utils.collection.ProxiedCollection
- containsAll(Collection<?>) - Method in class de.larssh.utils.collection.ProxiedCollection
- containsIgnoreCase(CharSequence, CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Tests if value
contains substring
, ignoring case
considerations.
- containsIgnoreCaseAscii(CharSequence, CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Tests if value
contains substring
, ignoring case
considerations in the ACII range.
- containsKey(Object) - Method in class de.larssh.utils.collection.ProxiedMap
- containsValue(Object) - Method in class de.larssh.utils.collection.ProxiedMap
- CONTENT_HANDLER - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.Xalan
-
The content handling class specifies the default name of the Java class that
implements the
ContentHandler
interface and receives
calls during result tree serialization.
- CONTINUE_AFTER_FATAL_ERROR - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Attempt to continue parsing after a fatal error.
- create(Reflect, Object...) - Static method in class de.larssh.utils.test.Reflects
-
Calls Reflect.create(Object...)
to call a constructor.
- CREATE_ENTITY_REFERENCE_NODES - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.DOM
-
- Csv - Class in de.larssh.utils.text
-
This class represents CSV data, consisting of rows of values, implementing
List<String>
for convenience reasons.
- Csv() - Constructor for class de.larssh.utils.text.Csv
-
This class represents CSV data, consisting of rows of values, implementing
List<String>
for convenience reasons.
- Csv(char, char) - Constructor for class de.larssh.utils.text.Csv
-
This class represents CSV data, consisting of rows of values, implementing
List<String>
for convenience reasons.
- Csv(int) - Constructor for class de.larssh.utils.text.Csv
-
This class represents CSV data, consisting of rows of values, implementing
List<String>
for convenience reasons.
- Csv(int, char, char) - Constructor for class de.larssh.utils.text.Csv
-
This class represents CSV data, consisting of rows of values, implementing
List<String>
for convenience reasons.
- Csv(List<? extends List<String>>) - Constructor for class de.larssh.utils.text.Csv
-
This class represents CSV data, consisting of rows of values, implementing
List<String>
for convenience reasons.
- Csv(List<? extends List<String>>, char, char) - Constructor for class de.larssh.utils.text.Csv
-
This class represents CSV data, consisting of rows of values, implementing
List<String>
for convenience reasons.
- CsvRow - Class in de.larssh.utils.text
-
Class representing the values of one CSV row, implementing
List<String>
for convenience reasons.
- CURRENT_ELEMENT_NODE - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.DOM
-
The current DOM element node while parsing.
- de.larssh.utils - package de.larssh.utils
-
Utility classes
- de.larssh.utils.annotations - package de.larssh.utils.annotations
-
Annotations
- de.larssh.utils.collection - package de.larssh.utils.collection
-
Utilities for collection types
- de.larssh.utils.dom - package de.larssh.utils.dom
-
Utilities for DOM handling
- de.larssh.utils.function - package de.larssh.utils.function
-
Utilities for lambda expressions
- de.larssh.utils.io - package de.larssh.utils.io
-
Utilities for I/O
- de.larssh.utils.net - package de.larssh.utils.net
-
Utilities for handling network connectivity
- de.larssh.utils.test - package de.larssh.utils.test
-
Utility classes
- de.larssh.utils.text - package de.larssh.utils.text
-
Utilities for strings
- de.larssh.utils.time - package de.larssh.utils.time
-
Utilities for date and time
- de.larssh.utils.xml - package de.larssh.utils.xml
-
Utilities to process XML documents
- DECIMAL_UNITS - Static variable in class de.larssh.utils.text.Strings
-
Map of decimal units to their power of ten
...
- DECLARATION_HANDLER - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.SAX
-
Set the handler for DTD declarations.
- decodeBase64(String) - Static method in class de.larssh.utils.text.StringConverters
-
Decodes value
as Base64 string.
- decodeBase64Mime(String) - Static method in class de.larssh.utils.text.StringConverters
-
Decodes value
using the Base64 MIME type decoding scheme.
- decodeBase64Url(String) - Static method in class de.larssh.utils.text.StringConverters
-
Decodes value
as Base64 URL and filename-safe string.
- decodeCsv(String, char, char) - Static method in class de.larssh.utils.text.StringConverters
-
Parses the CSV data given by data
.
- decodeUrl(String) - Static method in class de.larssh.utils.text.StringConverters
-
Decodes an application/x-www-form-urlencoded
string.
- DEFAULT_CHARSET - Static variable in class de.larssh.utils.text.Strings
-
Constant UTF-8 for usage as default char set.
- DEFAULT_ESCAPER - Static variable in class de.larssh.utils.text.Csv
-
The default CSV escape character
- DEFAULT_FILE_NAME_SEPARATOR - Static variable in class de.larssh.utils.SystemUtils
-
Constant "/"
as system-independent name-separator character for use
in paths, represented as a string for convenience.
- DEFAULT_FILE_NAME_SEPARATOR_CHAR - Static variable in class de.larssh.utils.SystemUtils
-
Constant '/'
as system-independent name-separator character for use
in paths.
- DEFAULT_LOCALE - Static variable in class de.larssh.utils.text.Strings
-
Constant locale as default locale where no language and country is required.
- DEFAULT_SEPARATOR - Static variable in class de.larssh.utils.text.Csv
-
The default CSV separator character
- DEFER_NODE_EXPANSION - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.DOM
-
true
(default): Lazily expand the DOM nodes.
- DISALLOW_DOCTYPE_DECLARATION - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: A fatal error is thrown if the incoming document contains a
DOCTYPE
declaration.
- DOCTYPE_PUBLIC - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.XML
-
- DOCTYPE_SYSTEM - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.XML
-
Specifies the system identifier to be used in the document type declaration.
- DOCUMENT_CLASS_NAME - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.DOM
-
The fully qualified name of the class implementing the
Document
interface.
- DOCUMENT_XML_VERSION - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.SAX
-
A literal string describing the actual XML version of the document, such as
1.0
or 1.1
.
- DOM_NODE - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.SAX
-
The DOM node currently being visited, if SAX is being used as a DOM iterator.
- DoubleToDoubleFunction - Interface in de.larssh.utils.function
-
Represents a function that accepts an double-valued argument and produces an
double-valued result.
- early(String, Consumer<Supplier<String>>) - Static method in class de.larssh.utils.time.LoggingStopwatch
-
- earlyWithString(String, Consumer<String>) - Static method in class de.larssh.utils.time.LoggingStopwatch
-
- Either<A,B> - Class in de.larssh.utils
-
A container object which contains a value matching either one or another type
represented by <A>
and <B>
.
- Either(Optional<A>, Optional<B>) - Constructor for class de.larssh.utils.Either
-
Creates a new Either
instance.
- encodeBase64(String) - Static method in class de.larssh.utils.text.StringConverters
-
Translates value
into Base64 format.
- encodeBase64Mime(String) - Static method in class de.larssh.utils.text.StringConverters
-
Translates value
into Base64 MIME type encoding scheme.
- encodeBase64Url(String) - Static method in class de.larssh.utils.text.StringConverters
-
Translates value
into Base64 URL and filename-safe format.
- encodeCsv(Collection<? extends Collection<String>>, char, char) - Static method in class de.larssh.utils.text.StringConverters
-
Encodes data
as CSV document.
- encodeCsvRow(Collection<? extends String>, char, char) - Static method in class de.larssh.utils.text.StringConverters
-
Encodes values
as one CSV row.
- encodeCsvValue(String, char, char) - Static method in class de.larssh.utils.text.StringConverters
-
Encodes value
into a single CSV value.
- encodeUrl(String) - Static method in class de.larssh.utils.text.StringConverters
-
- ENCODING - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.XML
-
Specifies the preferred character encoding that the Transformer should use to
encode sequences of characters as sequences of bytes.
- endOfData() - Method in interface de.larssh.utils.collection.Iterators.ElementsSupplierStateHandler
-
Marks the iteration's end, the so called end of data.
- endsWithIgnoreCase(CharSequence, CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Tests if value
ends with the specified suffix, ignoring case
considerations.
- endsWithIgnoreCaseAscii(CharSequence, CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Tests if value
ends with the specified suffix, ignoring case
considerations in the ASCII range.
- ENTITIES - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.Xalan
-
type: string, only xml and html, default varies
- entry(K, V) - Static method in class de.larssh.utils.collection.Maps
-
Creates an
Map.Entry
representing a mapping from the specified key to the
specified value.
- entrySet() - Method in class de.larssh.utils.collection.ProxiedMap
- Enumerations - Class in de.larssh.utils.collection
-
- equals(Object) - Method in class de.larssh.utils.collection.ProxiedCollection
- equals(Object) - Method in class de.larssh.utils.collection.ProxiedIterator
- equals(Object) - Method in class de.larssh.utils.collection.ProxiedMap
- equals(Object) - Method in class de.larssh.utils.Either
-
- equals(Object) - Method in class de.larssh.utils.text.CsvRow
-
- equals(Object) - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
-
- equalsIgnoreCase(char, char) - Static method in class de.larssh.utils.text.Characters
-
Compares the characters, ignoring case considerations.
- equalsIgnoreCaseAscii(char, char) - Static method in class de.larssh.utils.text.Characters
-
Compares the characters, ignoring case considerations in the ASCII range.
- equalsIgnoreCaseAscii(CharSequence, CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Compares first
to second
, ignoring case considerations in the
ASCII range.
- EXTERNAL_GENERAL_ENTITIES - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): Include external general entities.
- EXTERNAL_PARAMETER_ENTITIES - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): Include external parameter entities and the external
DTD subset.
- GENERATE_SYNTHETIC_ANNOTATIONS - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Enable generation of synthetic annotations.
- get() - Method in class de.larssh.utils.collection.Maps.Builder
-
Returns the wrapped map
- get(int) - Method in class de.larssh.utils.collection.ProxiedList
- get(Object) - Method in class de.larssh.utils.collection.ProxiedMap
- get() - Method in class de.larssh.utils.Finals.CachingSupplier
- get() - Method in interface de.larssh.utils.function.ThrowingSupplier
-
Gets a result, allow throwing any kind of
Exception
.
- get(int) - Method in class de.larssh.utils.text.Csv
- get(String) - Method in class de.larssh.utils.text.CsvRow
-
Returns the current row's value of the column specified by header
.
- get(TransformerFactory) - Method in class de.larssh.utils.xml.TransformerFactoryAttribute
-
Allows the user to retrieve specific attributes of the underlying
implementation.
- get(Transformer) - Method in class de.larssh.utils.xml.TransformerOutputProperty
-
Get an output property that is in effect for the transformer.
- get(DocumentBuilderFactory) - Method in class de.larssh.utils.xml.XmlReadingProperty
-
Allows the user to retrieve specific attributes on the underlying
implementation.
- get(SAXParser) - Method in class de.larssh.utils.xml.XmlReadingProperty
-
Returns the particular property requested for in the underlying
implementation of
XMLReader
.
- get(XMLReader) - Method in class de.larssh.utils.xml.XmlReadingProperty
-
Look up the value of a property.
- getBoolean(Node, XPathExpression) - Static method in class de.larssh.utils.dom.XPathExpressions
-
Evaluates the compiled XPath expression in the specified context and returns
a
Boolean
.
- getCheckpoints() - Method in class de.larssh.utils.time.Stopwatch
-
List of checkpoints
- getConvertFirstWord() - Method in class de.larssh.utils.text.SentenceFormatter
-
Function to convert the first word
- getConvertSubsequentWords() - Method in class de.larssh.utils.text.SentenceFormatter
-
Function to convert all words except the first word
- getCsv() - Method in class de.larssh.utils.text.CsvRow
-
Reference to the parent CSV object
- getDefaultNonProxyHosts() - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Default nonProxyHosts
- getDefaultPort() - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Default proxy port
- getDeserializer() - Method in class de.larssh.utils.xml.TransformerOutputProperty
-
Output Property Deserializer
- getEscaper() - Method in class de.larssh.utils.text.Csv
-
The instances CSV escape character
- getFirst() - Method in class de.larssh.utils.Either
-
Value of first type
- getFirst(T...) - Static method in class de.larssh.utils.Nullables
-
Returns the first non-null value.
- getFirst(Supplier<? extends T>...) - Static method in class de.larssh.utils.Nullables
-
Returns the first non-null value.
- getFirst(Optional<T>...) - Static method in class de.larssh.utils.Optionals
-
Returns the first present value.
- getFirst(Supplier<? extends Optional<T>>...) - Static method in class de.larssh.utils.Optionals
-
Returns the first present value.
- getFirst(Predicate<? super T>, Supplier<? extends T>...) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the first value matching the predicate
isPresent
.
- getFirstValue(Predicate<? super T>, T...) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the first value matching the predicate
isPresent
.
- getHeaders() - Method in class de.larssh.utils.text.Csv
-
Returns the headers of this CSV object.
- getHostNameVerifierThatDoesNotVerifyHostNames() - Static method in class de.larssh.utils.net.InsecureConnections
-
- getHostProperty() - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Host property name
- getHttpsUrlConnection(URLConnection) - Static method in class de.larssh.utils.net.SecureConnections
-
- getInstant() - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
-
Instant
- getJavaExecutable() - Static method in class de.larssh.utils.SystemUtils
-
Determines the system specific path to the current JVMs binary executable.
- getKeyManagers(KeyStore, String) - Static method in class de.larssh.utils.net.SecureConnections
-
Returns an array of
KeyManager
s for a given key store and password.
- getLastCheckpoint() - Method in class de.larssh.utils.time.Stopwatch
-
- getLastInstant() - Method in class de.larssh.utils.time.Stopwatch
-
Instant of the last created
Stopwatch.Checkpoint
or the stopwatches starting
time if no checkpoint was created
- getLogger() - Method in class de.larssh.utils.time.LoggingStopwatch
-
Logging operation that consumes a
LoggingStopwatch
This operation is called after starting and stopping the stopwatch and after
each checkpoint creation.
- getLong(TemporalField) - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
- getName() - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Name
- getName() - Method in class de.larssh.utils.time.LoggingStopwatch
-
Stopwatches name
- getName() - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
-
Checkpoints name as reference
- getName() - Method in class de.larssh.utils.xml.TransformerFactoryAttribute
-
Attribute Name
- getName() - Method in class de.larssh.utils.xml.TransformerOutputProperty
-
Output Property Name
- getName() - Method in class de.larssh.utils.xml.XmlReadingProperty
-
Property Name
- getNode(Node, XPathExpression) - Static method in class de.larssh.utils.dom.XPathExpressions
-
Evaluates the compiled XPath expression in the specified context and
optionally returns a
Node
.
- getNodeList(Node, XPathExpression) - Static method in class de.larssh.utils.dom.XPathExpressions
-
Evaluates the compiled XPath expression in the specified context and returns
a
NodeList
.
- getNodes(Node, XPathExpression) - Static method in class de.larssh.utils.dom.XPathExpressions
-
Evaluates the compiled XPath expression in the specified context and returns
a list of
Node
.
- getNonProxyHosts() - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Returns all patterns of the current protocols nonProxyHosts
property.
- getNonProxyHostsProperty() - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
nonProxyHosts
property name
- getNonProxyHostsPropertyOrThrow() - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Returns the current protocols nonProxyHosts
property name.
- getNumber(Node, XPathExpression) - Static method in class de.larssh.utils.dom.XPathExpressions
-
Evaluates the compiled XPath expression in the specified context and returns
a
Double
.
- getPathToClass(Class<?>) - Static method in class de.larssh.utils.io.Resources
-
Determine the class file that clazz
is defined in.
- getPathToJar(Class<?>) - Static method in class de.larssh.utils.io.Resources
-
Determine the JAR file that clazz
is loaded from.
- getPortProperty() - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Port property name
- getPreviousCheckpoint() - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
-
Previous checkpoint or empty if this is the stopwatches first checkpoint
- getPreviousInstant() - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
-
Instant of the previous
Stopwatch.Checkpoint
or the stopwatches starting time
if this is the first checkpoint
- getProxiedForRead() - Method in class de.larssh.utils.collection.ProxiedIterator
-
Returns the wrapped iterator without verifying if modifying the underlying
collection is prohibited.
- getProxiedForRead() - Method in class de.larssh.utils.collection.ProxiedListIterator
-
Returns the wrapped iterator without verifying if modifying the underlying
collection is prohibited.
- getProxiedForRead() - Method in class de.larssh.utils.collection.ProxiedMap
-
Returns the wrapped map without verifying if modifying it is prohibited.
- getProxiedIfModifiable() - Method in class de.larssh.utils.collection.ProxiedIterator
-
Verifies if the underlying collection is modifiable and either returns the
wrapped iterator or throws an appropriate exception.
- getProxiedIfModifiable() - Method in class de.larssh.utils.collection.ProxiedListIterator
-
Verifies if the underlying collection is modifiable and either returns the
wrapped iterator or throws an appropriate exception.
- getProxiedIfModifiable() - Method in class de.larssh.utils.collection.ProxiedMap
-
Verifies if this object is modifiable and either returns the wrapped map or
throws an appropriate exception.
- getResource(ClassLoader, Path) - Static method in class de.larssh.utils.io.Resources
-
Finds the path to resource
using the class loader's resource lookup
algorithm.
- getResourceRelativeTo(Class<?>, Path) - Static method in class de.larssh.utils.io.Resources
-
Finds the path to resource
relative to clazz
.
- getResources(ClassLoader, Path) - Static method in class de.larssh.utils.io.Resources
-
Finds the paths to resource
using the class loader's resource lookup
algorithm.
- getResourcesRelativeTo(Class<?>, Path) - Static method in class de.larssh.utils.io.Resources
-
Finds the paths to resource
relative to clazz
.
- getRowIndex() - Method in class de.larssh.utils.text.CsvRow
-
The current row's index
- getSecond() - Method in class de.larssh.utils.Either
-
Value of second type
- getSeparator() - Method in class de.larssh.utils.text.Csv
-
The instances CSV separator character
- getSeparator() - Method in class de.larssh.utils.text.SentenceFormatter
-
Separator character between words
- getSerializer() - Method in class de.larssh.utils.xml.TransformerOutputProperty
-
Output Property Serializer
- getSocketFactory(KeyManager[]) - Static method in class de.larssh.utils.net.SecureConnections
-
- getSocketFactory(TrustManager[]) - Static method in class de.larssh.utils.net.SecureConnections
-
- getSocketFactory(KeyManager[], TrustManager[]) - Static method in class de.larssh.utils.net.SecureConnections
-
- getSocketFactoryTrusting(Path, String) - Static method in class de.larssh.utils.net.SecureConnections
-
Creates a
SSLSocketFactory
trusting the certificates inside JKS (Java
Key Store) file.
- getStartInstant() - Method in class de.larssh.utils.time.Stopwatch
-
Instant at the stopwatches start
- getStopInstant() - Method in class de.larssh.utils.time.CloseableStopwatch
-
Instant at the stopwatches stopping or empty if the stopwatch is not stopped,
yet.
- getStopwatch() - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
-
Stopwatch
- getString(Node, XPathExpression) - Static method in class de.larssh.utils.dom.XPathExpressions
-
Evaluates the compiled XPath expression in the specified context and returns
a
String
.
- getThrowing() - Method in interface de.larssh.utils.function.ThrowingSupplier
-
Gets a result, allow throwing any kind of
Exception
.
- getTrustManagers(KeyStore) - Static method in class de.larssh.utils.net.SecureConnections
-
Returns an array of
TrustManager
s for a given key store and password.
- getTrustManagersThatDoNotVerifyCertificates() - Static method in class de.larssh.utils.net.InsecureConnections
-
Returns an array of
TrustManager
s that
do not verify
certificates.
- getType() - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Proxy type
- getUserHome() - Static method in class de.larssh.utils.SystemUtils
-
User's home directory
- getUserName() - Static method in class de.larssh.utils.SystemUtils
-
User's account name
- getWrappedForRead() - Method in class de.larssh.utils.collection.ProxiedCollection
-
Returns the wrapped collection without verifying if modifying it is
prohibited.
- getWrappedForRead() - Method in class de.larssh.utils.collection.ProxiedList
-
Returns the wrapped collection without verifying if modifying it is
prohibited.
- getWrappedForRead() - Method in class de.larssh.utils.collection.ProxiedSet
-
Returns the wrapped collection without verifying if modifying it is
prohibited.
- getWrappedIfModifiable() - Method in class de.larssh.utils.collection.ProxiedCollection
-
Verifies if this object is modifiable and either returns the wrapped
collection or throws an appropriate exception.
- getWrappedIfModifiable() - Method in class de.larssh.utils.collection.ProxiedList
-
Verifies if this object is modifiable and either returns the wrapped
collection or throws an appropriate exception.
- getWrappedIfModifiable() - Method in class de.larssh.utils.collection.ProxiedSet
-
Verifies if this object is modifiable and either returns the wrapped
collection or throws an appropriate exception.
- GlobalProxyConfiguration - Class in de.larssh.utils.net
-
- GlobalProxyConfiguration(String, Proxy.Type, int, String, String, Optional<String>, Optional<Collection<String>>) - Constructor for class de.larssh.utils.net.GlobalProxyConfiguration
-
Creates a new GlobalProxyConfiguration
instance.
- grouped(Iterable<V>, Function<V, K>, BiFunction<List<V>, V, Lines.GroupedLineType>) - Static method in class de.larssh.utils.text.Lines
-
Groups lines based on a key and line types.
- grouped(Iterator<V>, Function<V, K>, BiFunction<List<V>, V, Lines.GroupedLineType>) - Static method in class de.larssh.utils.text.Lines
-
Groups lines based on a key and line types.
- grouped(Stream<V>, Function<V, K>, BiFunction<List<V>, V, Lines.GroupedLineType>) - Static method in class de.larssh.utils.text.Lines
-
Groups lines based on a key and line types.
- ifFirstIsPresent(Consumer<? super A>) - Method in class de.larssh.utils.Either
-
If the first value is present, invoke the specified consumer with the value,
otherwise do nothing.
- ifNonNull(T, Consumer<? super T>) - Static method in class de.larssh.utils.Nullables
-
If value
is non-null, invoke the specified consumer with
value
, otherwise do nothing.
- ifNonNullOrElse(T, Consumer<? super T>, Runnable) - Static method in class de.larssh.utils.Nullables
-
If value
is non-null, performs the given action with value
,
otherwise performs the given empty-based action.
- ifPresent(Consumer<? super A>, Consumer<? super B>) - Method in class de.larssh.utils.Either
-
Invoke either consumer depending on which value is present..
- ifSecondIsPresent(Consumer<? super B>) - Method in class de.larssh.utils.Either
-
If the second value is present, invoke the specified consumer with the value,
otherwise do nothing.
- INCLUDE_IGNORABLE_WHITESPACE - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.DOM
-
true
(default): Include text nodes that can be considered "ignorable
whitespace" in the DOM tree.
- INCREMENTAL - Static variable in class de.larssh.utils.xml.TransformerFactoryAttributes.Xalan
-
Produce output incrementally, rather than waiting to finish parsing the input
before generating any output.
- INDENT - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.XML
-
Specifies whether the Transformer may add additional whitespace when
outputting the result tree.
- INDENT_AMOUNT - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.Xalan
-
The amount of characters used when indenting.
- indexed(Stream<T>) - Static method in class de.larssh.utils.collection.Streams
-
Maps elements of stream
to entries with index and the original value.
- indexedLong(Stream<T>) - Static method in class de.larssh.utils.collection.Streams
-
Maps elements of stream
to entries with index of type long and the
original value.
- indexOf(Object) - Method in class de.larssh.utils.collection.ProxiedList
- indexOfIgnoreCase(CharSequence, CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Returns the index within string
of the first occurrence of
substring
, ignoring case considerations.
- indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class de.larssh.utils.text.Strings
-
Returns the index within string
of the first occurrence of
substring
, ignoring case considerations, starting at the specified
index.
- indexOfIgnoreCaseAscii(CharSequence, CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Returns the index within string
of the first occurrence of
substring
, ignoring case considerations in the ASCII range.
- indexOfIgnoreCaseAscii(CharSequence, CharSequence, int) - Static method in class de.larssh.utils.text.Strings
-
Returns the index within string
of the first occurrence of
substring
, ignoring case considerations in the ASCII range, starting
at the specified index.
- INPUT_BUFFER_SIZE - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.General
-
The size of the input buffer in the readers.
- InsecureConnections - Class in de.larssh.utils.net
-
Utility class to handle SSL/TLS connections in insecure ways.
- integerOutputProperty(String) - Static method in class de.larssh.utils.xml.TransformerOutputProperty
-
- IntToIntFunction - Interface in de.larssh.utils.function
-
Represents a function that accepts an int-valued argument and produces an
int-valued result.
- IS_NEGATIVE - Static variable in class de.larssh.utils.OptionalDoubles
-
Predicate returning true
for all values less than zero.
- IS_NEGATIVE - Static variable in class de.larssh.utils.OptionalInts
-
Predicate returning true
for all values less than zero.
- IS_NEGATIVE - Static variable in class de.larssh.utils.OptionalLongs
-
Predicate returning true
for all values less than zero.
- IS_NEGATIVE_OR_ZERO - Static variable in class de.larssh.utils.OptionalDoubles
-
Predicate returning true
for all values less than or equal to zero.
- IS_NEGATIVE_OR_ZERO - Static variable in class de.larssh.utils.OptionalInts
-
Predicate returning true
for all values less than or equal to zero.
- IS_NEGATIVE_OR_ZERO - Static variable in class de.larssh.utils.OptionalLongs
-
Predicate returning true
for all values less than or equal to zero.
- IS_POSITIVE - Static variable in class de.larssh.utils.OptionalDoubles
-
Predicate returning true
for all values greater than zero.
- IS_POSITIVE - Static variable in class de.larssh.utils.OptionalInts
-
Predicate returning true
for all values greater than zero.
- IS_POSITIVE - Static variable in class de.larssh.utils.OptionalLongs
-
Predicate returning true
for all values greater than zero.
- IS_POSITIVE_OR_ZERO - Static variable in class de.larssh.utils.OptionalDoubles
-
Predicate returning true
for all values greater than or equal to
zero.
- IS_POSITIVE_OR_ZERO - Static variable in class de.larssh.utils.OptionalInts
-
Predicate returning true
for all values greater than or equal to
zero.
- IS_POSITIVE_OR_ZERO - Static variable in class de.larssh.utils.OptionalLongs
-
Predicate returning true
for all values greater than or equal to
zero.
- IS_STANDALONE - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.SAX
-
true
: The document specified standalone="yes"
in its XML
declaration.
- isAsciiDigit(char) - Static method in class de.larssh.utils.text.Characters
-
Determines if the specified character is an ASCII digit.
- isAsciiLetter(char) - Static method in class de.larssh.utils.text.Characters
-
Determines if the specified character is an ASCII letter.
- isAsciiWhitespace(char) - Static method in class de.larssh.utils.text.Characters
-
Determines if the specified character is an ASCII white space.
- isBlank(CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Returns true
if value
consists of whitespace only or equals
null
.
- isCalculated() - Method in class de.larssh.utils.Finals.CachingSupplier
-
Determines if a cached value has been calculated already.
- isCompleted() - Method in class de.larssh.utils.Completable
-
Completed status
- isEmpty() - Method in class de.larssh.utils.collection.ProxiedCollection
- isEmpty() - Method in class de.larssh.utils.collection.ProxiedMap
- isModifiable() - Method in class de.larssh.utils.collection.ProxiedCollection
-
Flag specifying if this instance can be modified
- isModifiable() - Method in class de.larssh.utils.collection.ProxiedIterator
-
Flag specifying if the underlying collection can be modified
- isModifiable() - Method in class de.larssh.utils.collection.ProxiedMap
-
Flag specifying if this instance can be modified
- isModifiable() - Method in class de.larssh.utils.text.Csv
-
Flag specifying if this instance can be modified
- isModifiable() - Method in class de.larssh.utils.text.CsvRow
-
Flag specifying if this instance can be modified
- isStopped() - Method in class de.larssh.utils.time.CloseableStopwatch
-
Returns true
if the stopwatch is stopped.
- isSupported(TemporalField) - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
- isWindows() - Static method in class de.larssh.utils.SystemUtils
-
Validates the system property os.name
and returns true on Windows OS.
- iterator(Enumeration<E>) - Static method in class de.larssh.utils.collection.Enumerations
-
Returns a sequential
Iterator
with the
enumeration
as its source.
- iterator(Function<Iterators.ElementsSupplierStateHandler<E>, E>) - Static method in class de.larssh.utils.collection.Iterators
-
- iterator() - Method in class de.larssh.utils.collection.ProxiedCollection
- Iterators - Class in de.larssh.utils.collection
-
This class contains helper methods for
Iterator
.
- Iterators.ElementsSupplierStateHandler<E> - Interface in de.larssh.utils.collection
-
An instance of this is passed to the elements supplier at the time of
calculating the next element.
- JAVA_CLASS_PATH - Static variable in class de.larssh.utils.SystemUtils
-
Java class path
- JAVA_CLASS_VERSION - Static variable in class de.larssh.utils.SystemUtils
-
Java class format version number
- JAVA_COMPILER - Static variable in class de.larssh.utils.SystemUtils
-
Name of JIT compiler to use
- JAVA_EXT_DIRS - Static variable in class de.larssh.utils.SystemUtils
-
- JAVA_HOME - Static variable in class de.larssh.utils.SystemUtils
-
Java installation directory
- JAVA_IO_TMPDIR - Static variable in class de.larssh.utils.SystemUtils
-
- JAVA_LIBRARY_PATH - Static variable in class de.larssh.utils.SystemUtils
-
List of paths to search when loading libraries
- JAVA_SPECIFICATION_NAME - Static variable in class de.larssh.utils.SystemUtils
-
Java Runtime Environment specification name
- JAVA_SPECIFICATION_VENDOR - Static variable in class de.larssh.utils.SystemUtils
-
Java Runtime Environment specification vendor
- JAVA_SPECIFICATION_VERSION - Static variable in class de.larssh.utils.SystemUtils
-
Java Runtime Environment specification version
- JAVA_VENDOR - Static variable in class de.larssh.utils.SystemUtils
-
Java Runtime Environment vendor
- JAVA_VENDOR_URL - Static variable in class de.larssh.utils.SystemUtils
-
Java vendor URL
- JAVA_VERSION - Static variable in class de.larssh.utils.SystemUtils
-
Java Runtime Environment version
- JAVA_VM_NAME - Static variable in class de.larssh.utils.SystemUtils
-
Java Virtual Machine implementation name
- JAVA_VM_SPECIFICATION_NAME - Static variable in class de.larssh.utils.SystemUtils
-
Java Virtual Machine specification name
- JAVA_VM_SPECIFICATION_VENDOR - Static variable in class de.larssh.utils.SystemUtils
-
Java Virtual Machine specification vendor
- JAVA_VM_SPECIFICATION_VERSION - Static variable in class de.larssh.utils.SystemUtils
-
Java Virtual Machine specification version
- JAVA_VM_VENDOR - Static variable in class de.larssh.utils.SystemUtils
-
Java Virtual Machine implementation vendor
- JAVA_VM_VERSION - Static variable in class de.larssh.utils.SystemUtils
-
Java Virtual Machine implementation version
- of(A, B) - Static method in class de.larssh.utils.Either
-
- ofFirst(A) - Static method in class de.larssh.utils.Either
-
Returns an
Either
object describing the given value of the
first type.
- ofNon(DoublePredicate, double) - Static method in class de.larssh.utils.OptionalDoubles
-
- ofNon(IntPredicate, int) - Static method in class de.larssh.utils.OptionalInts
-
- ofNon(LongPredicate, long) - Static method in class de.larssh.utils.OptionalLongs
-
- ofNon(Predicate<? super T>, T) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the specified value, if non-null and
non-empty, otherwise returns an empty
Optional
.
- ofNonBlank(String) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the specified string, if non-null and
non-blank, otherwise returns an empty
Optional
.
- ofNonEmpty(T[]) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the specified array, if non-null and
non-empty, otherwise returns an empty
Optional
.
- ofNonEmpty(T) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the specified collection, if non-null
and non-empty, otherwise returns an empty
Optional
.
- ofNonEmpty(String) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the specified string, if non-null and
non-empty, otherwise returns an empty
Optional
.
- ofNullable(Double) - Static method in class de.larssh.utils.OptionalDoubles
-
- ofNullable(Integer) - Static method in class de.larssh.utils.OptionalInts
-
- ofNullable(Long) - Static method in class de.larssh.utils.OptionalLongs
-
- ofSecond(B) - Static method in class de.larssh.utils.Either
-
Returns an
Either
object describing the given value of the
second type.
- ofSingle(T[]) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the specified arrays first element, if
present, otherwise returns an empty
Optional
.
- ofSingle(Iterable<T>) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the specified iterables first element,
if present, otherwise returns an empty
Optional
.
- ofSingle(Iterator<T>) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the specified iterators first element,
if present, otherwise returns an empty
Optional
.
- ofSingle(Stream<T>) - Static method in class de.larssh.utils.Optionals
-
Returns an
Optional
describing the specified streams first element,
if present, otherwise returns an empty
Optional
.
- ofSingle(CharSequence) - Static method in class de.larssh.utils.Optionals
-
Returns an
OptionalInt
describing the specified strings first
character, if present, otherwise returns an empty
OptionalInt
.
- OMIT_META_TAG - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.Xalan
-
type: boolean, default: no, only html
- OMIT_XML_DECLARATION - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.XML
-
Specifies whether the XSLT processor should output an XML declaration.
- OPTIMIZE - Static variable in class de.larssh.utils.xml.TransformerFactoryAttributes.Xalan
-
Optimize stylesheet processing.
- OptionalDoubles - Class in de.larssh.utils
-
- OptionalInts - Class in de.larssh.utils
-
- OptionalLongs - Class in de.larssh.utils
-
- Optionals - Class in de.larssh.utils
-
This class contains helper methods for
Optional
.
- or(T, Supplier<? extends T>) - Static method in class de.larssh.utils.Nullables
-
If value
is non-null, returns value
, otherwise returns a
nullable value produced by the supplying function.
- orElse(T, T) - Static method in class de.larssh.utils.Nullables
-
Return value
if non-null, otherwise return other
.
- orElseGet(T, Supplier<? extends T>) - Static method in class de.larssh.utils.Nullables
-
Return value
if non-null, otherwise invoke other
and return
the result of that invocation.
- orElseThrow(T) - Static method in class de.larssh.utils.Nullables
-
If value
is non-null, returns value
, otherwise throws
java.lang.NullPointerException
.
- orElseThrow(T, Supplier<? extends X>) - Static method in class de.larssh.utils.Nullables
-
Return value
, if non-null, otherwise throw an exception to be created
by the provided supplier.
- OS_ARCH - Static variable in class de.larssh.utils.SystemUtils
-
Operating system architecture
- OS_NAME - Static variable in class de.larssh.utils.SystemUtils
-
Operating system name
- OS_VERSION - Static variable in class de.larssh.utils.SystemUtils
-
Operating system version
- SCANNER_NOTIFY_BUILTIN_REFERENCES - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Notifies the handler of built-in entity boundaries (e.g
&
) in the document via the start
/endEntity
callbacks.
- SCANNER_NOTIFY_CHARACTER_REFERENCES - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Notifies the handler of character reference boundaries in the
document via the start
/endEntity
callbacks.
- SCHEMA_EXTERNAL_NO_NAMESPACE_SCHEMA_LOCATION - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.General
-
This property allows the user to specify an XML Schema with no namespace.
- SCHEMA_EXTERNAL_SCHEMA_LOCATION - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.General
-
The XML Schema Recommendation explicitly states that the inclusion of
schemaLocation
and noNamespaceSchemaLocation
attributes is
only a hint; it does not mandate that these attributes must be used to locate
schemas.
- SECURE_PROCESSING - Static variable in class de.larssh.utils.xml.TransformerFactoryFeatures
-
Feature for secure processing.
- SecureConnections - Class in de.larssh.utils.net
-
Utility class to simplify the handling of connection certificates.
- SECURITY_MANAGER - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.General
-
It is possible to create XML documents whose processing could result in the
use of all system resources.
- SentenceFormatter - Class in de.larssh.utils.text
-
Class to format and parse a list of words.
- SentenceFormatter(Function<String, String>, String, Function<String, String>) - Constructor for class de.larssh.utils.text.SentenceFormatter
-
Creates a new SentenceFormatter
instance.
- set(int, E) - Method in class de.larssh.utils.collection.ProxiedList
- set(E) - Method in class de.larssh.utils.collection.ProxiedListIterator
- set(int, CsvRow) - Method in class de.larssh.utils.text.Csv
- set(TransformerFactory, T) - Method in class de.larssh.utils.xml.TransformerFactoryAttribute
-
Allows the user to set specific attributes on the underlying implementation.
- set(Transformer, T) - Method in class de.larssh.utils.xml.TransformerOutputProperty
-
Set an output property that will be in effect for the transformation.
- set(DocumentBuilderFactory, T) - Method in class de.larssh.utils.xml.XmlReadingWritableProperty
-
Allows the user to set specific attributes on the underlying implementation.
- set(SAXParser, T) - Method in class de.larssh.utils.xml.XmlReadingWritableProperty
-
Sets the particular property in the underlying implementation of
XMLReader
.
- set(XMLReader, T) - Method in class de.larssh.utils.xml.XmlReadingWritableProperty
-
Set the value of a property.
- setGlobalProxy(InetSocketAddress) - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Overwrites the JVM global current protocols proxy properties with the given
host and port.
- setModifiable(boolean) - Method in class de.larssh.utils.collection.ProxiedIterator
-
Flag specifying if the underlying collection can be modified
- setNonProxyHosts(Collection<String>) - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Overwrites the current protocols nonProxyHosts
property with the
given patterns.
- sinceLast() - Method in class de.larssh.utils.time.CloseableStopwatch
-
Duration since the last created
Stopwatch.Checkpoint
or the stopwatches
starting time if no checkpoint was created
- sinceLast() - Method in class de.larssh.utils.time.Stopwatch
-
Duration since the last created
Stopwatch.Checkpoint
or the stopwatches
starting time if no checkpoint was created
- sincePrevious() - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
-
Duration between this checkpoint and the previous
Stopwatch.Checkpoint
or the
stopwatches starting time if this is the first checkpoint
- sinceStart() - Method in class de.larssh.utils.time.CloseableStopwatch
-
Duration since the stopwatches start
- sinceStart() - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
-
Duration between this checkpoint and the stopwatches start
- sinceStart() - Method in class de.larssh.utils.time.Stopwatch
-
Duration since the stopwatches start
- size() - Method in class de.larssh.utils.collection.ProxiedCollection
- size() - Method in class de.larssh.utils.collection.ProxiedMap
- SneakyException - Exception in de.larssh.utils
-
SneakyException allows rethrowing any kind of
Exception
, hiding them
from compiler checks.
- SneakyException(Throwable) - Constructor for exception de.larssh.utils.SneakyException
-
Rethrows throwable
, hiding it from compiler checks.
- SOCKS - Static variable in class de.larssh.utils.net.GlobalProxyConfiguration
-
SOCKS proxy related properties
The SOCKS protocol handler does not support the nonProxyHosts
property.
- sort(Map<K, V>, Comparator<Map.Entry<K, V>>) - Static method in class de.larssh.utils.collection.Maps
-
- SOURCE_LOCATION - Static variable in class de.larssh.utils.xml.TransformerFactoryAttributes.Xalan
-
Provide a
SourceLocator
that can be used during a transformation to obtain the location of individual
nodes in a source document (system ID, line number, and column number).
- SplitLimit - Class in de.larssh.utils.text
-
- STANDALONE - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.XML
-
Specifies whether the Transformer should output a standalone document
declaration.
- STANDARD_URI_CONFORMANT - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Requires that a URI has to be provided where a URI is expected.
- startsWithIgnoreCase(CharSequence, CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Tests if value
starts with prefix
ignoring case
considerations.
- startsWithIgnoreCase(CharSequence, CharSequence, int) - Static method in class de.larssh.utils.text.Strings
-
Tests if the substring of value
beginning at offset
starts
with prefix
, ignoring case considerations.
- startsWithIgnoreCaseAscii(CharSequence, CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Tests if value
starts with the specified prefix, ignoring case
considerations in the ASCII range.
- startsWithIgnoreCaseAscii(CharSequence, CharSequence, int) - Static method in class de.larssh.utils.text.Strings
-
Tests if the substring of value
beginning at the specified index
starts with the specified prefix, ignoring case considerations in the ASCII
range.
- Stopwatch - Class in de.larssh.utils.time
-
Implementation of a synchronized stopwatch starting at
Instant.now()
.
- Stopwatch() - Constructor for class de.larssh.utils.time.Stopwatch
-
- Stopwatch.Checkpoint - Class in de.larssh.utils.time
-
Implementation of a stopwatches checkpoint.
- stream(Enumeration<E>) - Static method in class de.larssh.utils.collection.Enumerations
-
Returns a sequential
Stream
with the
enumeration
as its
source.
- stream(Function<Iterators.ElementsSupplierStateHandler<E>, E>) - Static method in class de.larssh.utils.collection.Iterators
-
Returns a sequential
Stream
with the
elementsSupplier
as its
source.
- stream(Iterator<E>) - Static method in class de.larssh.utils.collection.Iterators
-
Returns a sequential
Stream
with the
iterator
as its source.
- stream(OptionalDouble...) - Static method in class de.larssh.utils.OptionalDoubles
-
Returns a stream consisting of present elements.
- stream(OptionalInt...) - Static method in class de.larssh.utils.OptionalInts
-
Returns a stream consisting of present elements.
- stream(OptionalLong...) - Static method in class de.larssh.utils.OptionalLongs
-
Returns a stream consisting of present elements.
- stream(Optional<T>...) - Static method in class de.larssh.utils.Optionals
-
Returns a stream consisting of present elements.
- stream() - Method in class de.larssh.utils.time.Stopwatch
-
Sequential Stream
with the checkpoints as its source
- Streams - Class in de.larssh.utils.collection
-
This class contains helper methods for
Stream
.
- STRING_INTERNING - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.SAX
-
true
(default): All element names, prefixes, attribute names,
namespace URIs, and local names are internalized using the
String.intern()
method.
- StringConverters - Class in de.larssh.utils.text
-
This class contains helper methods for decoding and encoding strings.
- stringOutputProperty(String) - Static method in class de.larssh.utils.xml.TransformerOutputProperty
-
- StringParseException - Exception in de.larssh.utils.text
-
Thrown to indicate that a string could not be parsed.
- StringParseException(String, Object...) - Constructor for exception de.larssh.utils.text.StringParseException
-
- StringParseException(Throwable, String, Object...) - Constructor for exception de.larssh.utils.text.StringParseException
-
- Strings - Class in de.larssh.utils.text
-
This class contains helper methods for
String
.
- subList(int, int) - Method in class de.larssh.utils.collection.ProxiedList
- SuppressJacocoGenerated - Annotation Type in de.larssh.utils.annotations
-
Indicates that JaCoCo should ignore the annotated type, constructor or
method.
- SystemUtils - Class in de.larssh.utils
-
This class contains helper methods for system needs.
- throwIfCompleted() - Method in class de.larssh.utils.Completable
-
- throwing(ThrowingConsumer<T>) - Static method in interface de.larssh.utils.function.ThrowingConsumer
-
- throwing(ThrowingFunction<T, R>) - Static method in interface de.larssh.utils.function.ThrowingFunction
-
- throwing(ThrowingRunnable) - Static method in interface de.larssh.utils.function.ThrowingRunnable
-
- throwing(ThrowingSupplier<T>) - Static method in interface de.larssh.utils.function.ThrowingSupplier
-
- ThrowingConsumer<T> - Interface in de.larssh.utils.function
-
Represents an operation that accepts a single input argument and returns no
result.
- ThrowingFunction<T,R> - Interface in de.larssh.utils.function
-
Represents a function that accepts one argument and produces a result.
- throwingMerger() - Static method in class de.larssh.utils.Collectors
-
- ThrowingRunnable - Interface in de.larssh.utils.function
-
Represents a classes, that are intended to be executed by a thread.
- ThrowingSupplier<T> - Interface in de.larssh.utils.function
-
Represents a supplier of results.
- toArray() - Method in class de.larssh.utils.collection.ProxiedCollection
- toArray(T[]) - Method in class de.larssh.utils.collection.ProxiedCollection
- toCommandLine(ProcessBuilder, boolean) - Static method in class de.larssh.utils.io.ProcessBuilders
-
Returns a command to launch processBuilder
via command line.
- toLinkedHashMap() - Static method in class de.larssh.utils.Collectors
-
Returns a
Collector
that accumulates
Map.Entry
elements into a
LinkedHashMap
.
- toLinkedHashMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class de.larssh.utils.Collectors
-
Returns a Collector
that accumulates elements into a
LinkedHashMap
whose keys and values are the result of applying the
provided mapping functions to the input elements.
- toLinkedHashMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>) - Static method in class de.larssh.utils.Collectors
-
Returns a Collector
that accumulates elements into a
LinkedHashMap
whose keys and values are the result of applying the
provided mapping functions to the input elements.
- toLinkedHashSet() - Static method in class de.larssh.utils.Collectors
-
- toLowerCaseAscii(char) - Static method in class de.larssh.utils.text.Characters
-
Converts the character argument to lowercase when inside the ASCII range.
- toLowerCaseAscii(CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Converts all of the ASCII upper case characters in value
to lower
case.
- toLowerCaseNeutral(String) - Static method in class de.larssh.utils.text.Strings
-
- toMap(Supplier<M>) - Static method in class de.larssh.utils.Collectors
-
Returns a
Collector
that accumulates
Map.Entry
elements into a
Map
.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class de.larssh.utils.Collectors
-
Returns a Collector
that accumulates elements into a Map
whose keys and values are the result of applying the provided mapping
functions to the input elements.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>) - Static method in class de.larssh.utils.Collectors
-
Returns a Collector
that accumulates elements into a Map
whose keys and values are the result of applying the provided mapping
functions to the input elements.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, Supplier<M>) - Static method in class de.larssh.utils.Collectors
-
Returns a Collector
that accumulates elements into a Map
whose keys and values are the result of applying the provided mapping
functions to the input elements.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>, Supplier<M>) - Static method in class de.larssh.utils.Collectors
-
Returns a Collector
that accumulates elements into a Map
whose keys and values are the result of applying the provided mapping
functions to the input elements.
- TooManyElementsException - Exception in de.larssh.utils
-
Thrown to indicate that an object contains more than one element while either
no or exactly one element are expected.
- TooManyElementsException() - Constructor for exception de.larssh.utils.TooManyElementsException
-
- toString() - Method in class de.larssh.utils.collection.ProxiedCollection
- toString() - Method in class de.larssh.utils.collection.ProxiedMap
- toString() - Method in class de.larssh.utils.Either
-
- toString() - Method in class de.larssh.utils.text.Csv
-
Returns a valid CSV string representation of this object using the instances
separator and escaper.
- toString(char, char) - Method in class de.larssh.utils.text.Csv
-
Returns a valid CSV string representation of this object using
separator
and escaper
.
- toString() - Method in class de.larssh.utils.text.CsvRow
-
Returns a valid CSV string representation of this object using the default
separator and escaper.
- toString(char, char) - Method in class de.larssh.utils.text.CsvRow
-
Returns a valid CSV string representation of this object using
separator
and escaper
.
- toString() - Method in class de.larssh.utils.time.CloseableStopwatch
-
- toString() - Method in class de.larssh.utils.time.LoggingStopwatch
-
- toString() - Method in class de.larssh.utils.time.Stopwatch.Checkpoint
-
- toString() - Method in class de.larssh.utils.time.Stopwatch
-
- toTitleCaseNeutral(String) - Static method in class de.larssh.utils.text.Strings
-
- toUpperCaseAscii(char) - Static method in class de.larssh.utils.text.Characters
-
Converts the character argument to uppercase when inside the ASCII range.
- toUpperCaseAscii(CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Converts all of the ASCII lower case characters in value
to upper
case.
- toUpperCaseNeutral(String) - Static method in class de.larssh.utils.text.Strings
-
- TransformerFactoryAttribute<T> - Class in de.larssh.utils.xml
-
- TransformerFactoryAttribute(String) - Constructor for class de.larssh.utils.xml.TransformerFactoryAttribute
-
Creates a new TransformerFactoryAttribute
instance.
- TransformerFactoryAttributes - Class in de.larssh.utils.xml
-
- TransformerFactoryAttributes.Xalan - Class in de.larssh.utils.xml
-
Xalan Attributes
Based on
TransformerFactoryFeatures - Class in
de.larssh.utils.xml
-
- TransformerOutputProperties - Class in de.larssh.utils.xml
-
A collection of properties to be used for instances of
Transformer
.
- TransformerOutputProperties.JDK - Class in de.larssh.utils.xml
-
- TransformerOutputProperties.Xalan - Class in de.larssh.utils.xml
-
Xalan Output Properties
Based on
TransformerOutputProperties.XML - Class in
de.larssh.utils.xml
-
- TransformerOutputProperty<T> - Class in de.larssh.utils.xml
-
Allows reading and writing output properties of
Transformer
in a
typed way.
- TransformerOutputProperty(String, Function<T, String>, Function<String, T>) - Constructor for class de.larssh.utils.xml.TransformerOutputProperty
-
Creates a new TransformerOutputProperty
instance.
- trimEnd(CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Returns a string similar to value
, but with any trailing whitespace
removed.
- trimStart(CharSequence) - Static method in class de.larssh.utils.text.Strings
-
Returns a string similar to value
, but with any leading whitespace
removed.
U
- UNICODE_NORMALIZATION_CHECKING - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.SAX
-
true
: Perform Unicode normalization checking (as described in section
2.13 and Appendix B of the XML 1.1 Recommendation) and report normalization
errors.
- unmodifiable() - Method in class de.larssh.utils.collection.Maps.Builder
-
Returns the wrapped map as unmodifiable map
- unmodifiable() - Method in class de.larssh.utils.text.Csv
-
Marks the CSV object as unmodifiable
- unsetGlobalProxy() - Method in class de.larssh.utils.net.GlobalProxyConfiguration
-
Overwrites the JVM global current protocols proxy properties.
- UPPER_CAMEL_CASE - Static variable in class de.larssh.utils.text.SentenceFormatter
-
Upper Camel Case formatter
Example: AbcDefGhi
Words are translated to title case.
- UPPER_KEBAB_CASE - Static variable in class de.larssh.utils.text.SentenceFormatter
-
Upper Kebab Case formatter
Example: ABC-DEF-GHI
Words are translated to upper case and are separated by minus character.
- UPPER_SNAKE_CASE - Static variable in class de.larssh.utils.text.SentenceFormatter
-
Upper Snake Case formatter
Example: ABC_DEF_GHI
Words are translated to upper case and are separated by underscore character.
- UPPER_WHITE_SPACE - Static variable in class de.larssh.utils.text.SentenceFormatter
-
Upper White Space formatter
Example: Abc Def Ghi
Words are translated to title case and are separated by white space
character.
- USE_ATTRIBUTES_2 - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.SAX
-
- USE_ENTITY_RESOLVER_2 - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): The methods of the
EntityResolver2
interface will be used when an object
implementing this interface is registered with the parser using
setEntityResolver
.
- USE_LOCATOR_2 - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.SAX
-
- USE_URL_ESCAPING - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.Xalan
-
type: boolean, default: yes, only html
- USER_DIR - Static variable in class de.larssh.utils.SystemUtils
-
User's current working directory
- USER_HOME - Static variable in class de.larssh.utils.SystemUtils
-
- USER_NAME - Static variable in class de.larssh.utils.SystemUtils
-
V
- VALIDATE_ANNOTATIONS - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Schema annotations will be laxly validated against available
schema components.
- VALIDATION - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Validate the document and report validity errors.
- VALIDATION_ASSERT_COMMENTS_AND_PI_CHECKING - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Enable occurrence of comments and PIs within XPath Data Model
(XDM) instance, for XSD 1.1 assertion processing.
- VALIDATION_BALANCE_SYNTAX_TREES - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Construct an optimal representation for DTD content models to
significantly reduce the likelihood a
StackOverflowError
will occur when large content models are processed.
- VALIDATION_CTA_FULL_XPATH_CHECKING - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Enable XSD 1.1 CTA full XPath 2.0 checking.
- VALIDATION_DYNAMIC - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: The parser will validate the document only if a grammar is
specified.
- VALIDATION_ID_IDREF_CHECKING - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): Enable checking of ID/IDREF constraints.
- VALIDATION_IDENTITY_CONSTRAINT_CHECKING - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): Enable identity constraint checking.
- VALIDATION_SCHEMA - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Turn on XML Schema validation by inserting an XML Schema
validator into the pipeline.
- VALIDATION_SCHEMA_AUGMENT_POST_SCHEMA_VALIDATION_INFOSET - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): Augment Post-Schema-Validation-Infoset.
- VALIDATION_SCHEMA_ELEMENT_DEFAULT - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): Send XML Schema element default values via
characters()
.
- VALIDATION_SCHEMA_FULL_CHECKING - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Enable full schema grammar constraint checking, including
checking which may be time-consuming or memory intensive.
- VALIDATION_SCHEMA_IGNORE_XSI_TYPE_UNTIL_ELEMENT_DECLARATION - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: xsi:type
attributes will be ignored until a global
element declaration has been found, at which point xsi:type
attributes will be processed on the element for which the global element
declaration was found as well as its descendants.
- VALIDATION_SCHEMA_NORMALIZED_VALUE - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): Expose via SAX and DOM XML Schema normalized values
for attributes and elements.
- VALIDATION_SCHEMA_ROOT_ELEMENT_DECLARATION - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.General
-
A
QName
or
XSElementDeclaration
object
representing the top-level element declaration used when validating the root
element of a document or document fragment (also known as the validation
root).
- VALIDATION_SCHEMA_ROOT_TYPE_DEFINITION - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.General
-
A
QName
or
XSTypeDefinition
object
representing the top-level type definition used when validating the root
element of a document or document fragment (also known as the validation
root).
- VALIDATION_UNPARSED_ENTITY_CHECKING - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): Check that each value of type ENTITY
matches
the name of an unparsed entity declared in the DTD.
- VALIDATION_WARN_ON_DUPLICATE_ATTRIBUTE_DEFINITION - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Report a warning when a duplicate attribute is re-declared.
- VALIDATION_WARN_ON_UNDECLARED_ELEMENT_DEFINITION - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Report a warning if an element referenced in a content model is
not declared.
- valueOf(String) - Static method in enum de.larssh.utils.text.Lines.GroupedLineType
-
Returns the enum constant of this type with the specified name.
- values() - Method in class de.larssh.utils.collection.ProxiedMap
- values() - Static method in enum de.larssh.utils.text.Lines.GroupedLineType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VERSION - Static variable in class de.larssh.utils.xml.TransformerOutputProperties.XML
-
Specifies the version of the output method.
W
- waitFor(Duration, Duration) - Method in class de.larssh.utils.time.Stopwatch
-
Waits for duration
using Thread#sleep(long)
.
- waitFor(Duration, Duration, Consumer<Duration>) - Method in class de.larssh.utils.time.Stopwatch
-
Waits for duration
using wait
.
- WARN_ON_DUPLICATE_ENTITY_DEFINITION - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Report a warning for duplicate entity declaration.
X
- XINCLUDE - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
: Enable XInclude processing.
- XINCLUDE_FIXUP_BASE_URIS - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): Perform base URI fixup as specified by the XInclude
Recommendation.
- XINCLUDE_FIXUP_LANGUAGE - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.General
-
true
(default): Perform language fixup as specified by the XInclude
Recommendation.
- XML_1_1 - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.SAX
-
true
: The parser supports both XML 1.0 and XML 1.1.
- XML_STRING - Static variable in class de.larssh.utils.xml.XmlReadingProperties.Xerces.General
-
Get the string of characters associated with the current event.
- XMLNS_URIS - Static variable in class de.larssh.utils.xml.XmlReadingFeatures.Xerces.SAX
-
true
: When the namespace-prefixes feature is set to true
,
namespace declaration attributes will be reported as being in the
http://www.w3.org/2000/xmlns/
namespace.
- XmlReadingFeatures - Class in de.larssh.utils.xml
-
- XmlReadingFeatures.Xerces - Class in de.larssh.utils.xml
-