ExampleMeaning
2012-12-31 23:59:59
2012-12-31 23:59
2012-12-31One-time
*-12-31 23:59:59
*-12-31 23:59
*-12-31Once per year
*-*-31 23:59:59
*-*-31 23:59
*-*-31Once per month
Mon 23:59:59
Mon 23:59
MonOnce per week
23:59:59
23:59Once per day
*:59:59
*:59Once per hour
*:*:59
*:*Once per minute
*:*:*Every second
Instead of '*', integer ranges, integer lists, and combinations thereof can be given:
(1,2,3)
(2020-2031)
(12-3,7)
Instead of 'Mon', weekday ranges, weekday lists, and combinations thereof can be given:
Sat,Sun
Mon-Fri
Sun-Mon
Mon-Wed,Sat
If both day-of-month and day-of-week are specified, then both must match; e.g. '*-2-(8-14) Mon' means
'second monday of february'.
parseLoggingProperty(String, String...) - Static method in class de.unkrig.commons.util.logging.LogUtil
Parses an expression from the value of the named logging property.
peek() - Method in class de.unkrig.commons.util.collections.ArrayStack
peek() - Method in interface de.unkrig.commons.util.collections.Peekerator
peek() - Method in interface de.unkrig.commons.util.collections.Stack
peek() - Method in class de.unkrig.commons.util.collections.StringPeekerator
peek(String) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Checks whether the next element equals the expected string, but does consusme it.
peek(Pattern) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Matches the next element against the given pattern, and returns the successful matcher.
Peekerator<E> - Interface in de.unkrig.commons.util.collections
Extends the
Iterator
with the capability to "peek" an element.
Peekerators - Class in de.unkrig.commons.util.collections
peekIgnoreCase(String) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Checks whether the next element equals (ignoring case) the expected string, but does not consume it.
PointOfTime - Class in de.unkrig.commons.util.time
Extends
Date
with a more powerful string-arg constructor.
PointOfTime() - Constructor for class de.unkrig.commons.util.time.PointOfTime
The current time, a.k.a 'now'.
PointOfTime(String) - Constructor for class de.unkrig.commons.util.time.PointOfTime
Accepts point-of-time specifications in any of the following formats:
1999-12-31T23:59:59
(the "T
" separates the date from the time-of-day)
1999-12-31T23:59
1999-12-31
(midnight on the specified date)
PointOfTime(long) - Constructor for class de.unkrig.commons.util.time.PointOfTime
pop() - Method in class de.unkrig.commons.util.collections.ArrayStack
pop() - Method in interface de.unkrig.commons.util.collections.Stack
Removes and returns the element on the top of the stack.
PrettyPrintFormatter - Class in de.unkrig.commons.util.logging.formatter
PrettyPrintFormatter() - Constructor for class de.unkrig.commons.util.logging.formatter.PrettyPrintFormatter
PrettyPrintFormatter(Formatter) - Constructor for class de.unkrig.commons.util.logging.formatter.PrettyPrintFormatter
previous() - Method in interface de.unkrig.commons.util.collections.ElementWithContext
PrintfFormatter - Class in de.unkrig.commons.util.logging.formatter
A
Formatter
that formats a
LogRecord
through a format string (as described for
Formatter
) which is specified through the
de.unkrig.commons.util.logging.FormatFormatter.format
logging property.
PrintfFormatter() - Constructor for class de.unkrig.commons.util.logging.formatter.PrintfFormatter
The format string is retrieved from the "de.unkrig.commons.util.logging.formatter.PrintfFormatter.format"
logging property.
PrintfFormatter(int, String) - Constructor for class de.unkrig.commons.util.logging.formatter.PrintfFormatter
PrintfFormatter(String) - Constructor for class de.unkrig.commons.util.logging.formatter.PrintfFormatter
printResource(Class<?>, String, Charset, OutputStream) - Static method in class de.unkrig.commons.util.CommandLineOptions
Reads (and decodes) the contents of a resource, replaces all occurrences of
"${
system-property-name}
" with the value of the designated system property,
and writes the result to the outputStream (typically System.out
).
printResource(ClassLoader, String, Charset, OutputStream) - Static method in class de.unkrig.commons.util.CommandLineOptions
Reads (and decodes) the contents of a resource, replaces all occurrences of
"${
system-property-name}
" with the value of the designated system property,
and writes the result to the outputStream (typically System.out
).
PropertiesUtil - Class in de.unkrig.commons.util
Represents singular or periodic time events.
ProxyHandler - Class in de.unkrig.commons.util.logging.handler
A
Handler
that redirects all method calls to a delegate, which can be changed at runtime.
ProxyHandler() - Constructor for class de.unkrig.commons.util.logging.handler.ProxyHandler
Constructs a proxy handler without a delegate.
ProxyHandler(Handler) - Constructor for class de.unkrig.commons.util.logging.handler.ProxyHandler
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.AbstractStreamHandler
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.EagerHandler
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.StderrHandler
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.StdoutHandler
push(T) - Method in class de.unkrig.commons.util.collections.ArrayStack
push(T) - Method in interface de.unkrig.commons.util.collections.Stack
Pushes a value on the top of the stack.
put(K, V) - Method in class de.unkrig.commons.util.collections.LinearMap
putAll(M, Map.Entry<K, V>...) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
putAll(M, boolean, Map.Entry<K, V>...) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
putAll(M, Map.Entry<? extends K, ? extends V>...) - Static method in class de.unkrig.commons.util.collections.MapUtil
Puts all entries into the subject.
putAll(M, boolean, Map.Entry<? extends K, ? extends V>...) - Static method in class de.unkrig.commons.util.collections.MapUtil
Puts all entries into the subject.
R
- RegexFlags - Annotation Type in de.unkrig.commons.util.annotation
-
- reload(Class<S>) - Method in class de.unkrig.commons.util.EnhancedServiceLoader
-
- remove(Object) - Method in class de.unkrig.commons.util.collections.LinearMap
-
- remove() - Method in interface de.unkrig.commons.util.collections.Peekerator
-
- remove() - Method in class de.unkrig.commons.util.collections.StringPeekerator
-
- remove(Object) - Method in class de.unkrig.commons.util.IdentityHashSet
-
- removeFirstFrom(Collection<T>) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
-
Removes and returns the first element of the given collection.
- repeat(T, int) - Static method in class de.unkrig.commons.util.collections.IterableUtil
-
- repeat(T) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
-
- repeat(int, T) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
-
- RequiredOptionGroupMissing(Class<?>, String[]) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException.RequiredOptionGroupMissing
-
- RequiredOptionMissing(Method, String[]) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException.RequiredOptionMissing
-
- requireLoggingProperty(String, Class<T>) - Static method in class de.unkrig.commons.util.logging.LogUtil
-
Evaluates the value of the named property to an object of the given type and returns it.
- requireLoggingProperty(String) - Static method in class de.unkrig.commons.util.logging.LogUtil
-
- rest() - Method in class de.unkrig.commons.util.collections.StringPeekerator
-
Consumes and returns all remaining elements.
- reverse(ListIterator<E>) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
-
Returns a list iterator that traverses the list elements in the reverse order of the given delegate.
- reverseList(List<E>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
-
- ROOT_LOGGER - Static variable in class de.unkrig.commons.util.logging.LogUtil
-
Is Logger.getLogger("")
.
- run() - Method in class de.unkrig.commons.util.WyeConsumer
-
S
- SelectiveFormatter - Class in de.unkrig.commons.util.logging.formatter
-
- SelectiveFormatter(Predicate<? super LogRecord>, Formatter, Formatter) - Constructor for class de.unkrig.commons.util.logging.formatter.SelectiveFormatter
-
- SEQUENTIAL_EXECUTOR_SERVICE - Static variable in class de.unkrig.commons.util.concurrent.ConcurrentUtil
-
An
ExecutorService
which executes callables in the same thread immediately.
- setBeginning(PointOfTime) - Method in class de.unkrig.commons.util.time.TimeInterval
-
Changes the beginning of this interval.
- setDebug() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Shorthand for setLevel(FINE)
.
- setDelegate(Handler) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
-
Changes the delegate handler.
- setDuration(Duration) - Method in class de.unkrig.commons.util.time.TimeInterval
-
Changes the duration of this interval.
- setEncoding(String) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
-
- setEnding(PointOfTime) - Method in class de.unkrig.commons.util.time.TimeInterval
-
Changes the ending of this interval.
- setErrorManager(ErrorManager) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
-
- setFilter(Filter) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
-
- setFormat(String) - Method in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
-
Sets the format string for this logger.
- setFormatter(Formatter) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
-
- setFormatter(String) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Sets the formatter for all three handlers (debug, out and stderr).
- setFormatter(Formatter) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Sets the formatter for all three handlers (debug, out and stderr).
- setLevel(Level) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
-
- setLevel(Level) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Configures the logging of a command-line utility as usual.
- setNormal() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Shorthand for
setLevel(Level.INFO)
: Messages of level
INFO
, i.e.
- setNoWarn() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Shorthand for setLevel(Level.WARNING + 1)
: Messages of levels INFO
and WARNING
are
suppressed.
- setOut(File) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Sets a
Handler
which writes messages of levels
INFO
(inclusive) through
WARNING
(exclusive) to the given
File
.
- setOut(Handler) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Sets the given
Handler
for messages of levels
INFO
(inclusive) through
WARNING
(exclusive).
- setPassword(JPasswordField, char[]) - Static method in class de.unkrig.commons.util.JPasswordFields
-
Works around
JPasswordField
's painfully missing "
setPassword(char[])
" method.
- setQuiet() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Shorthand for
setLevel(Level.INFO + 1)
: Messages of level
Level.INFO
, i.e.
- Sets - Class in de.unkrig.commons.util.collections
-
Utility methods related to
Set
s.
- setStdout() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Installs a
Handler
which writes messages of levels
INFO
(inclusive) through
WARNING
(exclusive) to STDOUT.
- setVerbose() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
-
Shorthand for
setLevel(Level.CONFIG)
: Messages of level
CONFIG
, i.e.
- shutdown() - Method in class de.unkrig.commons.util.concurrent.LinearExecutorService
-
- shutdownNow() - Method in class de.unkrig.commons.util.concurrent.LinearExecutorService
-
- SIMPLE - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
-
- SimpleLogging - Class in de.unkrig.commons.util.logging
-
A utility class that simplifies the usage of Java™'s java.util.logging
facility.
- size() - Method in class de.unkrig.commons.util.collections.LinearMap
-
- size() - Method in class de.unkrig.commons.util.IdentityHashSet
-
- sorted(Collection<T>) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
-
Returns an unmodifiable collection containing the elements of the given collection, but sorted by
their "natural ordering".
- SquadExecutor<T> - Class in de.unkrig.commons.util.concurrent
-
- SquadExecutor(ExecutorService) - Constructor for class de.unkrig.commons.util.concurrent.SquadExecutor
-
- Stack<T> - Interface in de.unkrig.commons.util.collections
-
The interface for an (unsynchronized) "stack", which is painfully missing from java.util
.
- StderrHandler - Class in de.unkrig.commons.util.logging.handler
-
- StderrHandler() - Constructor for class de.unkrig.commons.util.logging.handler.StderrHandler
-
- StdoutHandler - Class in de.unkrig.commons.util.logging.handler
-
- StdoutHandler() - Constructor for class de.unkrig.commons.util.logging.handler.StdoutHandler
-
- StreamHandler - Class in de.unkrig.commons.util.logging.handler
-
A log record handler which writes formatted records to an
OutputStream
which must be specified through
a ".outputStream" logging property.
- StreamHandler() - Constructor for class de.unkrig.commons.util.logging.handler.StreamHandler
-
- StreamHandler(String) - Constructor for class de.unkrig.commons.util.logging.handler.StreamHandler
-
Single-arg constructor to be used by proxies.
- StreamHandler(OutputStream, boolean, Level, Filter, Formatter, String) - Constructor for class de.unkrig.commons.util.logging.handler.StreamHandler
-
- StringPeekerator - Class in de.unkrig.commons.util.collections
-
Extends a
Peekerator<String>
with various methods that check for string equality or pattern
matching.
- StringPeekerator(Peekerator<String>) - Constructor for class de.unkrig.commons.util.collections.StringPeekerator
-
- StringPeekerator(Iterator<String>) - Constructor for class de.unkrig.commons.util.collections.StringPeekerator
-
Equivalent with new StringPeekerator(Peekerators.from(delegate))
.
- StringPeekerator(ListIterator<String>) - Constructor for class de.unkrig.commons.util.collections.StringPeekerator
-
Equivalent with new StringPeekerator(Peekerators.from(delegate))
.
- submit(Consumer<? super OutputStream>) - Method in class de.unkrig.commons.util.concurrent.ByteStreamSequentializer
-
Data written to the
task's subject will be written to the
delegate
after all data written by the
previously submitted tasks, and before the data written by all tasks submitted afterwards.
- submit(ConsumerWhichThrows<? super OutputStream, EX>) - Method in class de.unkrig.commons.util.concurrent.ByteStreamSequentializer
-
- submit(ConsumerWhichThrows<? super ConsumerWhichThrows<? super T, ? extends EX>, ? extends Exception>) - Method in class de.unkrig.commons.util.concurrent.ObjectSequentializer
-
Subjects written to the
task's subject will be written to the
delegate
after all subjects written by the
previously submitted tasks, and
before the subjects of all tasks submitted afterwards.
- submit(Runnable) - Method in class de.unkrig.commons.util.concurrent.SquadExecutor
-
- submit(Runnable, T) - Method in class de.unkrig.commons.util.concurrent.SquadExecutor
-
Submits a Runnable task for execution.
- submit(Callable<T>) - Method in class de.unkrig.commons.util.concurrent.SquadExecutor
-
Submits a value-returning task for execution.
- subtract(PointOfTime) - Method in class de.unkrig.commons.util.time.PointOfTime
-
T
- ThreadBenchmark - Class in de.unkrig.commons.util
-
Measures real time, cpu time and user time for the current thread.
- ThreadBenchmark() - Constructor for class de.unkrig.commons.util.ThreadBenchmark
-
- TIME_MESSAGE - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
-
Formats log records with the format string
"%5$tF %5$tT.%5$tL %8$s%n" (which produces a simple
one-line format with date, time and log message).
- TimeInterval - Class in de.unkrig.commons.util.time
-
A time interval has an optional beginning, an optional duration and an optional ending.
- TimeInterval(TimeInterval) - Constructor for class de.unkrig.commons.util.time.TimeInterval
-
- TimeInterval() - Constructor for class de.unkrig.commons.util.time.TimeInterval
-
- TimeTable - Class in de.unkrig.commons.util
-
Represents singular or periodic time events.
- toCharArray(Set<Character>) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
-
- toFunction(Properties) - Static method in class de.unkrig.commons.util.PropertiesUtil
-
Returns a function that returns the value of the named property, or null
iff that property is not
defined.
- toIntArray(Set<Integer>) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
-
- toSeconds() - Method in class de.unkrig.commons.util.time.Duration
-
- toString() - Method in class de.unkrig.commons.util.time.Duration
-
- toString() - Method in class de.unkrig.commons.util.time.PointOfTime
-
- toString() - Method in class de.unkrig.commons.util.TimeTable
-
- transform(Iterable<? extends I>, Transformer<? super I, ? extends O>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
-
Returns an iterable which contains the transformed elements of the delegate
- transform(Iterator<? extends I>, Transformer<? super I, ? extends O>) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
-
Returns an iterator which iterates the transformed elements of the delegate
- TreeComparator<N extends TreeComparator.Node<N>,EX extends Throwable> - Class in de.unkrig.commons.util
-
Recursively compares two trees of nodes.
- TreeComparator() - Constructor for class de.unkrig.commons.util.TreeComparator
-
- TreeComparator.Node<N extends TreeComparator.Node<N>> - Interface in de.unkrig.commons.util
-
The base interface for leaf nodes and non-leaf nodes.
- treeMapOf(Map.Entry<K, V>...) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
-
- treeMapOf(Map.Entry<? extends K, ? extends V>...) - Static method in class de.unkrig.commons.util.collections.MapUtil
-
U
- union(Collection<? extends T>, Collection<? extends T>) - Static method in class de.unkrig.commons.util.collections.Sets
-
Creates and returns a set that contains all elements of lhs and rhs.
- unmodifiableIterable(Iterable<? extends T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
-
- UnrecognizedOption(String) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException.UnrecognizedOption
-
V
- valueOf(String) - Static method in enum de.unkrig.commons.util.annotation.CommandLineOption.Cardinality
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.unkrig.commons.util.annotation.CommandLineOptionGroup.Cardinality
-
Returns the enum constant of this type with the specified name.
- valueOf(String, Class<E>) - Static method in class de.unkrig.commons.util.Enums
-
Returns the enum constant of the enumType with the specified name.
- values() - Static method in enum de.unkrig.commons.util.annotation.CommandLineOption.Cardinality
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.unkrig.commons.util.annotation.CommandLineOptionGroup.Cardinality
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valuesEqual(Object, Object) - Method in class de.unkrig.commons.util.collections.IdentityLinearMap
-
- valuesEqual(Object, Object) - Method in class de.unkrig.commons.util.collections.LinearMap
-
W
- WARNING_PLUS_1 - Static variable in class de.unkrig.commons.util.logging.LogUtil
-
- write(int) - Method in class de.unkrig.commons.util.logging.ActiveSocketOutputStream
-
- write(byte[], int, int) - Method in class de.unkrig.commons.util.logging.ActiveSocketOutputStream
-
- WyeConsumer<T,EX extends Throwable> - Class in de.unkrig.commons.util
-
Collects the subjects produced by several producers and forwards them to one consumer in the right order.
- WyeConsumer(ConsumerWhichThrows<? super T, EX>) - Constructor for class de.unkrig.commons.util.WyeConsumer
-
A B C D E F G H I J K L M N O P R S T U V W
Copyright © 2018 Arno Unkrig. All rights reserved.