A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages

A

accumulator() - Method in class de.carne.util.stream.Unique
 
add(Runnable) - Static method in class de.carne.boot.ShutdownHooks
Adds a shutdown hook to be invoked during VM shutdown.
addHandler(Log, Handler, boolean) - Static method in class de.carne.util.logging.LogBuffer
Adds a Handler to this LogBuffer instance for LogRecord consuming.
addHandler(Handler, boolean) - Method in class de.carne.util.logging.LogBuffer
Adds a Handler to this LogBuffer instance for LogRecord consuming.
addHandler(Logger, Handler, boolean) - Static method in class de.carne.util.logging.LogBuffer
Adds a Handler to this LogBuffer instance for LogRecord consuming.
addLog(Log) - Method in class de.carne.util.logging.LogRecorder
Add a Log instance to the LogRecorder for recording.
addLogger(Logger) - Method in class de.carne.util.logging.LogRecorder
Add a Logger instance to the LogRecorder for recording.
AnsiFilter - Class in de.carne.io
Writer implementation used to remove ANSI escape codes from output (e.g. to write color enriched output to a dumb terminal).
AnsiFilter(Writer) - Constructor for class de.carne.io.AnsiFilter
Constructs a new AnsiFilter instance.
ANY - Static variable in class de.carne.text.IntegerParser
Standard parser for any integer value.
ANY - Static variable in class de.carne.text.LongParser
Standard parser for any long value.
Application - Class in de.carne.boot
Generic main class responsible for bootstrapping of the actual application.
ApplicationInitializationException - Exception in de.carne.boot
ApplicationInitializationException indicates an initialization error during application startup.
ApplicationInitializationException(String) - Constructor for exception de.carne.boot.ApplicationInitializationException
Constructs a new ApplicationInitializationException instance.
ApplicationInitializationException(String, Throwable) - Constructor for exception de.carne.boot.ApplicationInitializationException
Constructs a new ApplicationInitializationException instance.
ApplicationJarClassLoader - Class in de.carne.boot
ClassLoader implementation used to load classes from a single Jar file including any nested Jar file during class search.
ApplicationJarClassLoader(File, ClassLoader) - Constructor for class de.carne.boot.ApplicationJarClassLoader
Constructs a new ApplicationJarClassLoader instance.
ApplicationMain - Interface in de.carne.boot
Application entry point.
ApplicationURLStreamHandlerFactories - Class in de.carne.boot
URLStreamHandlerFactory implementation that supports multiple protocol handlers per VM by multiplexing the protocol specific requests.
apply(String) - Method in interface de.carne.text.Parser
 
applyLevelConfig(String) - Static method in class de.carne.util.logging.Logs
Applies individual level configuration to the current configuration.
arg() - Method in exception de.carne.util.cmdline.CmdLineException
Gets the argument string causing the processing failure.
arg(String) - Method in class de.carne.util.cmdline.CmdLineAction
Adds an argument string that should trigger this CmdLineAction instance.
assertTrue(boolean) - Static method in class de.carne.util.Check
Checks and ensures that a specific condition is met.
assertTrue(boolean, String, Object...) - Static method in class de.carne.util.Check
Checks and ensures that a specific condition is met.
ATTRIBUTE_BUILD_TIMESTAMP - Static variable in class de.carne.util.ManifestInfos
Build timestamp attribute.
ATTRIBUTE_MODULE_ID - Static variable in class de.carne.util.ManifestInfos
Module id attribute.
ATTRIBUTE_MODULE_NAME - Static variable in class de.carne.util.ManifestInfos
Module name attribute.
ATTRIBUTE_MODULE_VERSION - Static variable in class de.carne.util.ManifestInfos
Module version attribute.
AutoCloseables - Class in de.carne.util
Utility class providing AutoCloseable related functions.
AutoProxy - Class in de.carne.util.logging.proxy
auto detecting proxy.
AutoProxy() - Constructor for class de.carne.util.logging.proxy.AutoProxy
Constructs AutoProxy.

B

BooleanPreference - Class in de.carne.util.prefs
Boolean preference access.
BooleanPreference(String, boolean) - Constructor for class de.carne.util.prefs.BooleanPreference
Constructs a new BooleanPreference instance.
booleanValue(Class<?>, String) - Static method in class de.carne.util.SystemProperties
Gets a boolean system property value.
booleanValue(Class<?>, String, boolean) - Static method in class de.carne.util.SystemProperties
Gets a boolean system property value.
booleanValue(String) - Static method in class de.carne.util.SystemProperties
Gets a boolean system property value.
booleanValue(String, boolean) - Static method in class de.carne.util.SystemProperties
Gets a boolean system property value.
build() - Method in class de.carne.util.ManifestInfos
Gets the module build identifier stored in the manifest.
byteAt(int) - Method in class de.carne.util.ByteString
Gets the this instance's byte value at the given index.
bytes() - Method in class de.carne.util.ByteString
Gets a copy of this instance's byte values.
ByteString - Class in de.carne.util
Immutable byte string support.

C

callee() - Method in class de.carne.util.logging.Log
Logs the calling functions signature with LogLevel.LEVEL_DEBUG.
callee(Level) - Method in class de.carne.util.logging.Log
Logs the calling functions signature with the given severity.
characteristics() - Method in class de.carne.util.stream.Unique
 
check(Validation<I>, ValidationMessage) - Method in class de.carne.util.validation.InputValidator
Checks the given validation.
check(I) - Method in interface de.carne.util.validation.Validation
Checks whether the given input is valid.
Check - Class in de.carne.util
Utility class providing code check related functions.
checkAndApply(I) - Method in interface de.carne.util.validation.Conversion
Checks the given input value and applies the conversion.
checkInterrupted() - Static method in class de.carne.util.Threads
Checks whether the current Thread has been interrupted.
checkNotEmpty(String, ValidationMessage) - Static method in class de.carne.util.validation.StringValidator
Checks that an input value is not empty.
checkNotNull(I, ValidationMessage) - Static method in class de.carne.util.validation.InputValidator
Checks that an input value is not null.
Checksum - Interface in de.carne.io
Interface for any kind of checksum generator.
ChecksumInputStream - Class in de.carne.io
FilterInputStream that calculates a checksum of the read data.
ChecksumInputStream(InputStream, Checksum) - Constructor for class de.carne.io.ChecksumInputStream
Constructs a new ChecksumInputStream instance.
ChecksumOutputStream - Class in de.carne.io
FilterOutputStream that calculates a checksum of the written data.
ChecksumOutputStream(OutputStream, Checksum) - Constructor for class de.carne.io.ChecksumOutputStream
Constructs a new ChecksumOutputStream instance.
close() - Method in class de.carne.util.logging.ConsoleHandler
 
close() - Method in class de.carne.util.logging.LogBuffer
 
close() - Method in class de.carne.util.logging.LogRecorder.Session
 
close() - Method in class de.carne.util.logging.ProxyHandler
 
close(Object) - Static method in class de.carne.io.Closeables
Closes a potential Closeable.
close(Object) - Static method in class de.carne.util.AutoCloseables
Closes a potential AutoCloseable.
Closeables - Class in de.carne.io
Utility class providing Closeable related functions.
closeAll(Closeable...) - Static method in class de.carne.io.Closeables
Closes multiple Closeables in a safe manner.
closeAll(AutoCloseable...) - Static method in class de.carne.util.AutoCloseables
Closes multiple AutoCloseables in a safe manner.
closeAll(Iterable<Closeable>) - Static method in class de.carne.io.Closeables
Closes multiple Closeables in a safe manner.
closeAll(Iterable<AutoCloseable>) - Static method in class de.carne.util.AutoCloseables
Closes multiple AutoCloseables in a safe manner.
cmdLine() - Method in exception de.carne.util.cmdline.CmdLineException
Gets the command line string for which the processing failed.
CmdLineAction - Class in de.carne.util.cmdline
This class represents an action associated with a set of recognized command line args.
CmdLineAction() - Constructor for class de.carne.util.cmdline.CmdLineAction
 
CmdLineException - Exception in de.carne.util.cmdline
This Exception indicates an error during command line processing.
CmdLineException(CmdLineProcessor, String) - Constructor for exception de.carne.util.cmdline.CmdLineException
Constructs a new CmdLineException instance.
CmdLineException(CmdLineProcessor, String, Throwable) - Constructor for exception de.carne.util.cmdline.CmdLineException
Constructs a new CmdLineException instance.
CmdLineProcessor - Class in de.carne.util.cmdline
Utility class for command line processing.
CmdLineProcessor(String, Iterable<String>) - Constructor for class de.carne.util.cmdline.CmdLineProcessor
Constructs a new CmdLineProcessor instance.
CmdLineProcessor(String, String[]) - Constructor for class de.carne.util.cmdline.CmdLineProcessor
Constructs a new CmdLineProcessor instance.
combiner() - Method in class de.carne.util.stream.Unique
 
compareTo(ByteString) - Method in class de.carne.util.ByteString
 
Config - Class in de.carne.util.logging
Helper class used to apply the default logging during LogManager initialization.
Config() - Constructor for class de.carne.util.logging.Config
Constructs a new Config instance for applying the default logging configuration.
CONFIG_BOOT - Static variable in class de.carne.util.logging.Logs
Name of pre-defined boot logging config.
CONFIG_DEBUG - Static variable in class de.carne.util.logging.Logs
Standard name for debug logging config.
CONFIG_DEFAULT - Static variable in class de.carne.util.logging.Logs
Standard name for default logging config.
CONFIG_VERBOSE - Static variable in class de.carne.util.logging.Logs
Standard name for verbose logging config.
ConsoleFormatter - Class in de.carne.util.logging
A Formatter providing a simple out of the box log line format.
ConsoleFormatter() - Constructor for class de.carne.util.logging.ConsoleFormatter
Constructs new ConsoleFormatter instance.
ConsoleHandler - Class in de.carne.util.logging
A Handler which makes use of the Console class.
ConsoleHandler() - Constructor for class de.carne.util.logging.ConsoleHandler
Construct ConsoleHandler.
ConsoleWriter - Class in de.carne.io
PrintWriter implementation which supports ANSI sequences and uses the System.console() for emitting it's output.
ConsoleWriter() - Constructor for class de.carne.io.ConsoleWriter
Constructs a new ConsoleWriter instance.
contains(String) - Method in class de.carne.util.cmdline.CmdLineAction
Checks whether the submitted argument string is a trigger for this CmdLineAction instance.
Conversion<I,​O> - Interface in de.carne.util.validation
Functional interface used to define an conversion step during an input validation.
convert(Conversion<I, O>, ValidationMessage) - Method in class de.carne.util.validation.InputValidator
Checks and converts the input value against the given conversion.
copy(byte...) - Static method in class de.carne.util.ByteString
Constructs a new ByteString instance by copying the submitted bytes.
copy(byte[], int, int) - Static method in class de.carne.util.ByteString
Constructs a new ByteString instance by copying the submitted bytes.
copyBuffer(OutputStream, ByteBuffer) - Static method in class de.carne.io.IOUtil
Copies all available bytes from a ByteBuffer to a OutputStream.
copyChannel(WritableByteChannel, ReadableByteChannel) - Static method in class de.carne.io.IOUtil
Copies all bytes from a ReadableByteChannel to a WritableByteChannel.
copyFile(File, File) - Static method in class de.carne.io.IOUtil
Copies all bytes from a File to a File.
copyFile(OutputStream, File) - Static method in class de.carne.io.IOUtil
Copies all bytes from a File to an OutputStream.
copyStream(File, InputStream) - Static method in class de.carne.io.IOUtil
Copies all bytes from an InputStream to a File.
copyStream(OutputStream, InputStream) - Static method in class de.carne.io.IOUtil
Copies all bytes from an InputStream to an OutputStream.
copyTo(byte[], int) - Method in class de.carne.util.ByteString
Copies this instances bytes to a destination buffer.
copyUrl(File, URL) - Static method in class de.carne.io.IOUtil
Copies all bytes from a URL to a File.
copyUrl(OutputStream, URL) - Static method in class de.carne.io.IOUtil
Copies all bytes from a URL to an OutputStream.
createURLStreamHandler(String) - Method in class de.carne.boot.ApplicationURLStreamHandlerFactories
 
customRoot(File) - Static method in class de.carne.util.prefs.FilePreferencesFactory
Creates a Preferences object backed up by a custom configuration file.
customRoot(Path) - Static method in class de.carne.util.prefs.FilePreferencesFactory
Creates a Preferences object backed up by a custom configuration file.
customRoot(Properties) - Static method in class de.carne.util.prefs.FilePreferencesFactory
Creates a Preferences object backed up by a Properties object.
customRootFile(String) - Static method in class de.carne.util.prefs.FilePreferencesFactory
Gets the file path used to store custom preferences.

D

DATE_TIME_FORMAT - Static variable in class de.carne.util.logging.LogLineFormatter
The DateTimeFormatter used for record timestamp formatting.
de.carne - module de.carne
module-info
de.carne.boot - package de.carne.boot
 
de.carne.io - package de.carne.io
 
de.carne.nio.file - package de.carne.nio.file
 
de.carne.nio.file.attribute - package de.carne.nio.file.attribute
 
de.carne.text - package de.carne.text
 
de.carne.util - package de.carne.util
 
de.carne.util.cmdline - package de.carne.util.cmdline
 
de.carne.util.function - package de.carne.util.function
 
de.carne.util.logging - package de.carne.util.logging
 
de.carne.util.logging.proxy - package de.carne.util.logging.proxy
 
de.carne.util.prefs - package de.carne.util.prefs
 
de.carne.util.stream - package de.carne.util.stream
 
de.carne.util.validation - package de.carne.util.validation
 
debug(String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_DEBUG message.
debug(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_DEBUG message.
Debug - Class in de.carne.util
Utility class providing debug related functions.
decode(CharSequence) - Static method in class de.carne.util.Strings
Decodes a CharSequence previously encoded via Strings.encode(CharSequence).
DEFAULT_BUFFER_SIZE - Static variable in class de.carne.io.Defaults
Default buffer size for I/O operations.
DEFAULT_BUFFER_SIZE_PROPERTY - Static variable in class de.carne.io.Defaults
DEFAULT_ERROR_MANAGER - Static variable in class de.carne.util.logging.Logs
Default ErrorManager instance to use for error reporting.
Defaults - Class in de.carne.io
I/O default properties.
defaultValue() - Method in class de.carne.util.prefs.Preference
Gets this instance's default preference value.
delete(Path) - Static method in class de.carne.nio.file.FileUtil
Deletes a file or directory (including any included file).

E

ELLIPSIS - Static variable in class de.carne.util.Strings
Ellipsis string.
EMPTY - Static variable in class de.carne.util.ByteString
The empty byte string.
encode(CharSequence) - Static method in class de.carne.util.Strings
Encodes a CharSequence to a pure ASCII representation by quoting non printable characters.
encode(StringBuilder, CharSequence) - Static method in class de.carne.util.Strings
Encodes a CharSequence to a pure ASCII representation by quoting non printable characters.
encodeHtml(CharSequence) - Static method in class de.carne.util.Strings
Encodes a CharSequence to a HTML conform representation by quoting special characters.
encodeHtml(StringBuilder, CharSequence) - Static method in class de.carne.util.Strings
Encodes a CharSequence to a HTML conform representation by quoting special characters.
equals(Object) - Method in class de.carne.text.MemoryUnitFormat
 
equals(Object) - Method in class de.carne.util.ByteString
 
error(String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_ERROR message.
error(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_ERROR message.
Exceptions - Class in de.carne.util
Utility class providing Exception/Throwable handling related functions.
excludeRecord(Predicate<LogRecord>) - Method in class de.carne.util.logging.LogRecorder
Add an exclude Predicate to the recorder.
excludeThread(Predicate<Thread>) - Method in class de.carne.util.logging.LogRecorder.Session
Add an exclude Predicate to the LogRecorder.Session.
expand(String) - Method in class de.carne.util.PropertyResolver
Expands the given string by resolving all embedded property keys.
exportTo(Log, File, boolean) - Static method in class de.carne.util.logging.LogBuffer
Exports the buffered LogRecords to a File.
exportTo(File, boolean) - Method in class de.carne.util.logging.LogBuffer
Exports the buffered LogRecords to a File.
exportTo(Logger, File, boolean) - Static method in class de.carne.util.logging.LogBuffer
Exports the buffered LogRecords to a File.

F

fail() - Static method in class de.carne.util.Check
Throws an IllegalStateException to indicate that an unexpected execution state occurred.
fail(String, Object...) - Static method in class de.carne.util.Check
Throws an IllegalStateException to indicate that an unexpected execution state occurred.
FileAttributes - Class in de.carne.nio.file.attribute
Utility class providing FileAttribute related functions.
FilePreferencesFactory - Class in de.carne.util.prefs
Custom PreferencesFactory implementation for storing preferences into human readable text (*.conf) files.
FilePreferencesFactory() - Constructor for class de.carne.util.prefs.FilePreferencesFactory
 
FileUtil - Class in de.carne.nio.file
Utility class providing file related functions.
finisher() - Method in class de.carne.util.stream.Unique
 
flush() - Method in class de.carne.io.AnsiFilter
 
flush() - Method in class de.carne.util.logging.ConsoleHandler
 
flush() - Method in class de.carne.util.logging.LogBuffer
 
flush() - Method in class de.carne.util.logging.LogRecorder.Session
 
flush() - Static method in class de.carne.util.logging.Logs
FLushs all currently configured Handler instance (e.g. during application exit).
flush() - Method in class de.carne.util.logging.ProxyHandler
 
flush() - Static method in class de.carne.util.prefs.FilePreferencesFactory
Flush any file based FilePreferences instance to the backing store.
flush(Log) - Static method in class de.carne.util.logging.LogBuffer
Performs a flush operation on this LogBuffer instance.
flush(Logger) - Static method in class de.carne.util.logging.LogBuffer
Performs a flush operation on this LogBuffer instance.
format(byte) - Method in class de.carne.text.HexFormat
Formats a byte value.
format(byte[]) - Method in class de.carne.text.HexFormat
Formats a byte array.
format(byte[], int, int) - Method in class de.carne.text.HexFormat
Formats a byte array range.
format(double, StringBuffer, FieldPosition) - Method in class de.carne.text.MemoryUnitFormat
 
format(int) - Method in class de.carne.text.HexFormat
Formats a int value.
format(long) - Method in class de.carne.text.HexFormat
Formats a long value.
format(long, StringBuffer, FieldPosition) - Method in class de.carne.text.MemoryUnitFormat
 
format(short) - Method in class de.carne.text.HexFormat
Formats a short value.
format(LogRecord) - Method in class de.carne.util.logging.ConsoleFormatter
 
format(LogRecord) - Method in class de.carne.util.logging.LogLineFormatter
 
format(Object...) - Method in interface de.carne.util.validation.ValidationMessage
Format the validation message.
format(StringBuilder, byte) - Method in class de.carne.text.HexFormat
Formats a byte value.
format(StringBuilder, byte[]) - Method in class de.carne.text.HexFormat
Formats a byte array.
format(StringBuilder, byte[], int, int) - Method in class de.carne.text.HexFormat
Formats a byte array range.
format(StringBuilder, int) - Method in class de.carne.text.HexFormat
Formats a int value.
format(StringBuilder, long) - Method in class de.carne.text.HexFormat
Formats a long value.
format(StringBuilder, short) - Method in class de.carne.text.HexFormat
Formats a short value.
formatMillis(LogRecord) - Method in class de.carne.util.logging.LogLineFormatter
Formats a LogRecord's time attribute.
formatUsedMemory() - Static method in class de.carne.util.Debug
Formats the currently used memory in human readable format.
fromLevel(Level) - Static method in class de.carne.util.logging.LogLevel
Gets the LogLevel corresponding to a Level instance.
fromString(String) - Static method in class de.carne.util.validation.PathValidator
Checks and converts a String input value to a Path input.
FunctionException - Exception in de.carne.util.function
RuntimeException type used to handle exception during execution of a functional interface.
FunctionException(Exception) - Constructor for exception de.carne.util.function.FunctionException
Constructs a new FunctionException instance.

G

get() - Method in class de.carne.util.Late
Gets the object.
get() - Method in class de.carne.util.Lazy
Get the object.
get() - Static method in class de.carne.util.stream.Unique
Collects and gets the unique result element.
get() - Method in class de.carne.util.validation.InputValidator
 
get(Log) - Static method in class de.carne.util.logging.LogBuffer
Gets the LogBuffer attached to the submitted Log (if any).
get(Logger) - Static method in class de.carne.util.logging.LogBuffer
Gets the LogBuffer attached to the submitted Logger (if any).
get(Preferences) - Method in class de.carne.util.prefs.Preference
Gets this instance's preference value.
get(Preferences, Boolean) - Method in class de.carne.util.prefs.BooleanPreference
 
get(Preferences, Integer) - Method in class de.carne.util.prefs.IntPreference
 
get(Preferences, Long) - Method in class de.carne.util.prefs.LongPreference
 
get(Preferences, String) - Method in class de.carne.util.prefs.StringPreference
 
get(Preferences, Path) - Method in class de.carne.util.prefs.PathPreference
 
get(Preferences, T) - Method in class de.carne.util.prefs.Preference
Gets this instance's preference value.
getBoolean(Preferences) - Method in class de.carne.util.prefs.BooleanPreference
Gets this instance's preference value.
getBoolean(Preferences, boolean) - Method in class de.carne.util.prefs.BooleanPreference
Gets this instance's preference value.
getBooleanProperty(LogManager, String, boolean) - Static method in class de.carne.util.logging.Logs
Gets a boolean property from a LogManager's current configuration.
getCaller() - Static method in class de.carne.util.Debug
Gets the calling method's name.
getCause(Throwable) - Static method in class de.carne.util.Exceptions
Checks and gets the submitted Throwable's causing exception.
getChecksumValue() - Method in class de.carne.io.ChecksumInputStream
Gets the checksum value corresponding to the read data and resets the checksum processor.
getChecksumValue() - Method in class de.carne.io.ChecksumOutputStream
Gets the checksum value corresponding to the written data and resets the checksum processor.
getContextClassLoader() - Static method in class de.carne.util.Threads
Gets the context ClassLoader of the current Thread or the system ClassLoader if none is set.
getFilterProperty(LogManager, String, Filter) - Static method in class de.carne.util.logging.Logs
Gets a Filter property from a LogManager's current configuration.
getFormatterProperty(LogManager, String, Formatter) - Static method in class de.carne.util.logging.Logs
Gets a Formatter property from a LogManager's current configuration.
getHandler(Log, Class<T>) - Static method in class de.carne.util.logging.LogBuffer
Gets a previously registered Handler of a specific type.
getHandler(Class<T>) - Method in class de.carne.util.logging.LogBuffer
Gets a previously registered Handler of a specific type.
getHandler(Logger, Class<T>) - Static method in class de.carne.util.logging.LogBuffer
Gets a previously registered Handler of a specific type.
getInstance() - Static method in class de.carne.io.MD5Checksum
Gets a MD5Checksum instance for checksum generation.
getInstance() - Static method in class de.carne.io.SHA256Checksum
Gets a SHA256Checksum instance for checksum generation.
getInstance(String) - Static method in class de.carne.io.MD5Checksum
Gets a MD5Checksum instance for checksum generation.
getInstance(String) - Static method in class de.carne.io.SHA256Checksum
Gets a SHA256Checksum instance for checksum generation.
getInt(Preferences) - Method in class de.carne.util.prefs.IntPreference
Gets this instance's preference value.
getInt(Preferences, int) - Method in class de.carne.util.prefs.IntPreference
Gets this instance's preference value.
getIntProperty(LogManager, String, int) - Static method in class de.carne.util.logging.Logs
Gets a int property from a LogManager's current configuration.
getLevelProperty(LogManager, String, LogLevel) - Static method in class de.carne.util.logging.Logs
Gets a Level property from a LogManager's current configuration.
getLong(Preferences) - Method in class de.carne.util.prefs.LongPreference
Gets this instance's preference value.
getLong(Preferences, long) - Method in class de.carne.util.prefs.LongPreference
Gets this instance's preference value.
getMain(Class<T>) - Static method in class de.carne.boot.Application
Gets the currently running ApplicationMain instance.
getMainAttribute(String, String) - Method in class de.carne.util.ManifestInfos
Gets a manifest's main attribute.
getMemoryUnitInstance() - Static method in class de.carne.text.MemoryUnitFormat
Gets the default MemoryUnitFormat instance.
getMessage(Throwable) - Static method in class de.carne.util.Exceptions
Gets an Throwable's best message.
getOptional() - Method in class de.carne.util.Late
Gets the object as an Optional.
getOptional() - Method in class de.carne.util.Lazy
Gets the object as an Optional.
getOptional() - Static method in class de.carne.util.stream.Unique
Collects and gets the unique result element as an Optional.
getRecords() - Method in class de.carne.util.logging.LogRecorder.Session
Get the LogRecords that have been recorded by this LogRecorder.Session so far.
getRuntimeInfos() - Static method in class de.carne.util.ManifestInfos
Collects all ManifestInfos available in the current runtime environment.
getStackTrace(Throwable) - Static method in class de.carne.util.Exceptions
Gets a Throwable's stack trace.
getStringProperty(LogManager, String, String) - Static method in class de.carne.util.logging.Logs
Gets a String property from a LogManager's current configuration.
getStringsProperty(LogManager, String) - Static method in class de.carne.util.logging.Logs
Gets a String array property from a LogManager's current configuration.
getValue() - Method in interface de.carne.io.Checksum
Finalizes the checksum generation, returns the result and resets the generator.
getValue() - Method in class de.carne.io.MessageDigestChecksum
 

H

hashCode() - Method in class de.carne.text.MemoryUnitFormat
 
hashCode() - Method in class de.carne.util.ByteString
 
HexBytes - Class in de.carne.text
Utility class providing hex sequence conversion functions.
HexFormat - Class in de.carne.text
Basic hex formatting support.
HexFormat(boolean) - Constructor for class de.carne.text.HexFormat
Constructs a HexFormat instance.
HexFormat(boolean, String, String) - Constructor for class de.carne.text.HexFormat
Constructs a HexFormat instance.

I

id() - Method in class de.carne.util.ManifestInfos
Gets the module id stored in the manifest.
ignore(Throwable) - Static method in class de.carne.util.Exceptions
Ignores a Throwable.
ignore(String) - Static method in class de.carne.util.cmdline.CmdLineProcessor
Pre-defined ignore action to ignore specific arguments.
includeRecord(Predicate<LogRecord>) - Method in class de.carne.util.logging.LogRecorder
Add an include Predicate to the recorder.
includeThread(Predicate<Thread>) - Method in class de.carne.util.logging.LogRecorder.Session
Add an include Predicate to the session.
info(String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_INFO message.
info(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_INFO message.
input(I) - Static method in class de.carne.util.validation.InputValidator
Constructs a new InputValidator instance for input validation.
InputValidator<I> - Class in de.carne.util.validation
Base class for all kinds of input validation classes.
InputValidator(I) - Constructor for class de.carne.util.validation.InputValidator
Constructs a new InputValidator instance.
IntegerParser - Class in de.carne.text
Integer parser.
IntegerParser() - Constructor for class de.carne.text.IntegerParser
Constructs a new IntegerParser accepting any integer value.
IntegerParser(int, int) - Constructor for class de.carne.text.IntegerParser
Constructs a new IntegerParser accepting integer values of the given range.
IntPreference - Class in de.carne.util.prefs
Integer preference access.
IntPreference(String, int) - Constructor for class de.carne.util.prefs.IntPreference
Constructs a new IntPreference instance.
intValue(Class<?>, String) - Static method in class de.carne.util.SystemProperties
Gets a int system property value.
intValue(Class<?>, String, int) - Static method in class de.carne.util.SystemProperties
Gets a int system property value.
intValue(Class<?>, String, IntegerParser, int) - Static method in class de.carne.util.SystemProperties
Gets a int system property value.
intValue(String) - Static method in class de.carne.util.SystemProperties
Gets a int system property value.
intValue(String, int) - Static method in class de.carne.util.SystemProperties
Gets a int system property value.
intValue(String, IntegerParser, int) - Static method in class de.carne.util.SystemProperties
Gets a int system property value.
IOUtil - Class in de.carne.io
Utility class providing I/O related functions.
IS_LINUX - Static variable in class de.carne.util.Platform
Operating System: Linux
IS_MACOS - Static variable in class de.carne.util.Platform
Operating System: macOS
IS_WINDOWS - Static variable in class de.carne.util.Platform
Operating System: Windows
isActionArg(String) - Static method in class de.carne.util.cmdline.CmdLineProcessor
Checks whether an argument string is a valid action argument.
isAnsiEnabled() - Method in class de.carne.io.ConsoleWriter
Checks whether this instance is capable of emitting ANSI sequences.
isDebugLoggable() - Method in class de.carne.util.logging.Log
Checks whether a LogLevel.LEVEL_DEBUG message of level would be logged by this Log instance.
isEmpty(String) - Static method in class de.carne.util.Strings
Checks whether a String is empty.
isErrorLoggable() - Method in class de.carne.util.logging.Log
Checks whether a LogLevel.LEVEL_ERROR message of level would be logged by this Log instance.
isInfoLoggable() - Method in class de.carne.util.logging.Log
Checks whether a LogLevel.LEVEL_INFO message of level would be logged by this Log instance.
isInstanceOf(Object, Class<T>) - Static method in class de.carne.util.Check
Checks and ensures that an Object is an instance of a specific type.
isInstanceOf(Object, Class<T>, String, Object...) - Static method in class de.carne.util.Check
Checks and ensures that an Object is an instance of a specific type.
isLoggable(LogRecord) - Method in class de.carne.util.logging.LocalizedFilter
 
isLoggable(Level) - Method in class de.carne.util.logging.Log
Checks whether a message of the submitted Level would be logged by this Log instance.
isNoticeLoggable() - Method in class de.carne.util.logging.Log
Checks whether a LogLevel.LEVEL_NOTICE message of level would be logged by this Log instance.
isTraceLoggable() - Method in class de.carne.util.logging.Log
Checks whether a LogLevel.LEVEL_TRACE message of level would be logged by this Log instance.
isTrue(boolean) - Static method in class de.carne.util.Check
Checks and ensures that a specific condition is met.
isTrue(boolean, String, Object...) - Static method in class de.carne.util.Check
Checks and ensures that a specific condition is met.
isWarningLoggable() - Method in class de.carne.util.logging.Log
Checks whether a LogLevel.LEVEL_WARNING message of level would be logged by this Log instance.

J

join(Iterable<?>, String) - Static method in class de.carne.util.Strings
Joins the String representation of multiple Objects into a single String.
join(Iterable<?>, String, int) - Static method in class de.carne.util.Strings
Joins the String representation of multiple Objects into a single String.
join(Iterable<?>, String, int, String) - Static method in class de.carne.util.Strings
Joins the String representation of multiple Objects into a single String.
join(Object[], String) - Static method in class de.carne.util.Strings
Joins the String representation of multiple Objects into a single String.
join(Object[], String, int) - Static method in class de.carne.util.Strings
Joins the String representation of multiple Objects into a single String.
join(Object[], String, int, String) - Static method in class de.carne.util.Strings
Joins the String representation of multiple Objects into a single String.

K

key() - Method in class de.carne.util.prefs.Preference
Gets this instance's preference key.

L

Late<T> - Class in de.carne.util
Utility class used to handle late initialized objects in a null-safe way.
Late() - Constructor for class de.carne.util.Late
 
Lazy<T> - Class in de.carne.util
Utility class used to handle lazy initialized objects in a null-safe way.
Lazy(Supplier<T>) - Constructor for class de.carne.util.Lazy
Construct Lazy.
length() - Method in class de.carne.util.ByteString
Gets the length of this instance.
level() - Method in class de.carne.util.logging.Log
Gets the log level configured for this instance.
LEVEL_DEBUG - Static variable in class de.carne.util.logging.LogLevel
Level Debug.
LEVEL_ERROR - Static variable in class de.carne.util.logging.LogLevel
Level Error.
LEVEL_INFO - Static variable in class de.carne.util.logging.LogLevel
Level Info.
LEVEL_NOTICE - Static variable in class de.carne.util.logging.LogLevel
Level Notice.
LEVEL_TRACE - Static variable in class de.carne.util.logging.LogLevel
Level Trace.
LEVEL_WARNING - Static variable in class de.carne.util.logging.LogLevel
Level Warning.
LocalizedFilter - Class in de.carne.util.logging
Filter for logging of localized messages only.
LocalizedFilter() - Constructor for class de.carne.util.logging.LocalizedFilter
 
log(Level, Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Logs a message with the given severity.
Log - Class in de.carne.util.logging
Wrapper class for the JDK's Logger class to make logging easy and more efficient.
Log() - Constructor for class de.carne.util.logging.Log
Constructs a new Log instance.
Log(Class<?>) - Constructor for class de.carne.util.logging.Log
Constructs a new Log instance.
Log(Class<?>, String) - Constructor for class de.carne.util.logging.Log
Constructs a new Log isntance.
Log(String) - Constructor for class de.carne.util.logging.Log
Constructs a new Log instance.
Log4j2Proxy - Class in de.carne.util.logging.proxy
Log4j2Proxy() - Constructor for class de.carne.util.logging.proxy.Log4j2Proxy
 
LogBuffer - Class in de.carne.util.logging
Handler implementation used to add/remove Handler instances programmatically during application runtime.
LogBuffer() - Constructor for class de.carne.util.logging.LogBuffer
Constructs a new LogBuffer instance.
logger() - Method in class de.carne.util.logging.Log
Gets the Logger represented by this instance.
LogLevel - Class in de.carne.util.logging
Custom Level class for the log levels used by class Log.
LogLineFormatter - Class in de.carne.util.logging
Formatter implementation providing a simple static single line (except for stack trace information) log format.
LogLineFormatter() - Constructor for class de.carne.util.logging.LogLineFormatter
 
LogRecorder - Class in de.carne.util.logging
This class is used to record LogRecords in a selective manner (e.g. to display detailed results of long running operations).
LogRecorder(Level) - Constructor for class de.carne.util.logging.LogRecorder
Construct LogRecorder.
LogRecorder.Session - Class in de.carne.util.logging
This class represents a running recording session.
Logs - Class in de.carne.util.logging
Utility class providing Log related functions.
LongParser - Class in de.carne.text
Long parser.
LongParser() - Constructor for class de.carne.text.LongParser
Constructs a new LongParser accepting any long value.
LongParser(long, long) - Constructor for class de.carne.text.LongParser
Constructs a new LongParser accepting long values of the given range.
LongPreference - Class in de.carne.util.prefs
Long preference access.
LongPreference(String, long) - Constructor for class de.carne.util.prefs.LongPreference
Constructs a new LongPreference instance.
longValue(Class<?>, String) - Static method in class de.carne.util.SystemProperties
Gets a long system property value.
longValue(Class<?>, String, long) - Static method in class de.carne.util.SystemProperties
Gets a long system property value.
longValue(Class<?>, String, LongParser, long) - Static method in class de.carne.util.SystemProperties
Gets a long system property value.
longValue(String) - Static method in class de.carne.util.SystemProperties
Gets a long system property value.
longValue(String, long) - Static method in class de.carne.util.SystemProperties
Gets a long system property value.
longValue(String, LongParser, long) - Static method in class de.carne.util.SystemProperties
Gets a long system property value.
LOWER_CASE - Static variable in class de.carne.text.HexFormat
Lower case HexFormat instance.

M

main(String[]) - Static method in class de.carne.boot.Application
Application entry point if run as Main class.
ManifestInfos - Class in de.carne.util
Utility class used to access a module's manifest.
ManifestInfos(String) - Constructor for class de.carne.util.ManifestInfos
Constructs a new ManifestInfos instance.
mark(int) - Method in class de.carne.io.ChecksumInputStream
 
markSupported() - Method in class de.carne.io.ChecksumInputStream
 
MAX_BUFFER_SIZE - Static variable in class de.carne.io.Defaults
Maximum buffer size for I/O operations.
MAX_BUFFER_SIZE_PROPERTY - Static variable in class de.carne.io.Defaults
MD5Checksum - Class in de.carne.io
MD5 based checksum generator.
MemoryUnitFormat - Class in de.carne.text
NumberFormat for memory units (byte, KiB, ...).
MemoryUnitFormat() - Constructor for class de.carne.text.MemoryUnitFormat
Constructs a new MemoryUnitFormat instance.
MemoryUnitFormat(NumberFormat) - Constructor for class de.carne.text.MemoryUnitFormat
Constructs a new MemoryUnitFormat instance.
MemoryUnitFormat(Locale) - Constructor for class de.carne.text.MemoryUnitFormat
Constructs a new MemoryUnitFormat instance.
MessageDigestChecksum - Class in de.carne.io
 
MessageDigestChecksum(MessageDigest) - Constructor for class de.carne.io.MessageDigestChecksum
 

N

NA - Static variable in class de.carne.util.ManifestInfos
The default value used in case an attribute is not defined in the manifest.
name() - Method in interface de.carne.boot.ApplicationMain
Gets the application's name.
name() - Method in class de.carne.util.ManifestInfos
Gets the module name stored in the manifest.
notEmpty(String) - Static method in class de.carne.util.Strings
Checks whether a String is not empty.
notice(String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_NOTICE message.
notice(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_NOTICE message.
NullOutputStream - Class in de.carne.io
OutputStream implementation which sends any written data into oblivion.
NullOutputStream() - Constructor for class de.carne.io.NullOutputStream
 

O

onOption(BiConsumer<String, String>) - Method in class de.carne.util.cmdline.CmdLineProcessor
Add a CmdLineAction for option argument (e.g. --option value) processing.
onSwitch(Consumer<String>) - Method in class de.carne.util.cmdline.CmdLineProcessor
Add a CmdLineAction for switch argument (e.g. --switch) processing.
onUnknownArg(Consumer<String>) - Method in class de.carne.util.cmdline.CmdLineProcessor
Add an action for unknown arguments (e.g.
onUnnamedOption(Consumer<String>) - Method in class de.carne.util.cmdline.CmdLineProcessor
Add an action for unnamed options (e.g.
open(Path, OpenOption...) - Static method in class de.carne.util.prefs.UserFile
Create or open a user preferences file.

P

parse(String) - Method in class de.carne.text.IntegerParser
 
parse(String) - Method in class de.carne.text.LongParser
 
parse(String) - Method in interface de.carne.text.Parser
Parses the submitted string.
parse(String, ParsePosition) - Method in class de.carne.text.MemoryUnitFormat
 
parseInt(String) - Method in class de.carne.text.IntegerParser
Parses the submitted string.
parseLong(String) - Method in class de.carne.text.LongParser
Parses the submitted string.
Parser<T> - Interface in de.carne.text
Generic parser interface for mapping a String to a specific type T.
PathPreference - Class in de.carne.util.prefs
Path preference access.
PathPreference(String, Path) - Constructor for class de.carne.util.prefs.PathPreference
Constructs a new PathPreference instance.
PathValidator - Class in de.carne.util.validation
InputValidator implementation for Path input.
Platform - Class in de.carne.util
Utility class providing functions to determine Java platform type and capabilities.
POSITIVE - Static variable in class de.carne.text.IntegerParser
Standard parser for any positive integer value.
POSITIVE - Static variable in class de.carne.text.LongParser
Standard parser for any positive long value.
Preference<T> - Class in de.carne.util.prefs
Utility class for Preferences value access.
Preference(String, T) - Constructor for class de.carne.util.prefs.Preference
Constructs a new Preference instance.
process() - Method in class de.carne.util.cmdline.CmdLineProcessor
Processes the command line and invoke the correspond actions.
PropertyResolver - Class in de.carne.util
Utility class providing dynamic property resolution support.
PropertyResolver() - Constructor for class de.carne.util.PropertyResolver
Constructs a new PropertyResolver instance.
PropertyResolver(boolean, boolean) - Constructor for class de.carne.util.PropertyResolver
Constructs a new PropertyResolver instance.
PropertyResolver(Map<?, ?>) - Constructor for class de.carne.util.PropertyResolver
Constructs a new PropertyResolver instance.
PropertyResolver(Map<?, ?>, boolean, boolean) - Constructor for class de.carne.util.PropertyResolver
Constructs a new PropertyResolver instance.
Proxy - Interface in de.carne.util.logging.proxy
Proxy interface for log record forwarding.
ProxyHandler - Class in de.carne.util.logging
A Handler implementation used to forward log records to a 3rd party logging framework.
ProxyHandler() - Constructor for class de.carne.util.logging.ProxyHandler
Constructs ProxyHandler.
publish(LogRecord) - Method in class de.carne.util.logging.LogBuffer
 
publish(LogRecord) - Method in class de.carne.util.logging.LogRecorder.Session
 
publish(LogRecord) - Method in class de.carne.util.logging.ProxyHandler
 
publish(LogRecord) - Method in class de.carne.util.logging.ConsoleHandler
 
publish(LogRecord, Formatter) - Method in class de.carne.util.logging.proxy.AutoProxy
 
publish(LogRecord, Formatter) - Method in class de.carne.util.logging.proxy.Log4j2Proxy
 
publish(LogRecord, Formatter) - Method in interface de.carne.util.logging.proxy.Proxy
Publishes the submitted LogRecord.
publish(LogRecord, Formatter) - Method in class de.carne.util.logging.proxy.Slf4jProxy
 
put(Preferences, Boolean) - Method in class de.carne.util.prefs.BooleanPreference
 
put(Preferences, Integer) - Method in class de.carne.util.prefs.IntPreference
 
put(Preferences, Long) - Method in class de.carne.util.prefs.LongPreference
 
put(Preferences, String) - Method in class de.carne.util.prefs.StringPreference
 
put(Preferences, Path) - Method in class de.carne.util.prefs.PathPreference
 
put(Preferences, T) - Method in class de.carne.util.prefs.Preference
Sets this instance's preference value.
putBoolean(Preferences, boolean) - Method in class de.carne.util.prefs.BooleanPreference
Sets this instance's preference value.
putInt(Preferences, int) - Method in class de.carne.util.prefs.IntPreference
Sets this instance's preference value.
putLong(Preferences, long) - Method in class de.carne.util.prefs.LongPreference
Sets this instance's preference value.

R

read() - Method in class de.carne.io.ChecksumInputStream
 
read(byte[]) - Method in class de.carne.io.ChecksumInputStream
 
read(byte[], int, int) - Method in class de.carne.io.ChecksumInputStream
 
readAllBytes(File) - Static method in class de.carne.io.IOUtil
Read all bytes from a File.
readAllBytes(File, int) - Static method in class de.carne.io.IOUtil
Read up to limit bytes from a File.
readAllBytes(InputStream) - Static method in class de.carne.io.IOUtil
Read all bytes from an InputStream.
readAllBytes(InputStream, int) - Static method in class de.carne.io.IOUtil
Read up to limit bytes from an InputStream.
readAllBytes(URL) - Static method in class de.carne.io.IOUtil
Read all bytes from a URL.
readAllBytes(URL, int) - Static method in class de.carne.io.IOUtil
Read up to limit bytes from a URL.
readBlocking(InputStream, byte[]) - Static method in class de.carne.io.IOUtil
Reads up to the requested number of bytes and blocks until they are all read or EOF is reached.
readBlocking(InputStream, byte[], int, int) - Static method in class de.carne.io.IOUtil
Reads up to the requested number of bytes and blocks until they are all read or EOF is reached.
readConfig(String) - Static method in class de.carne.util.logging.Logs
Reads and applies a LogManager configuration.
readConfig(URL) - Static method in class de.carne.util.logging.Logs
Reads and applies a LogManager configuration.
readEager(InputStream, byte[]) - Static method in class de.carne.io.IOUtil
Reads eagerly the requested number of bytes and fails if they are not available.
readEager(InputStream, byte[], int, int) - Static method in class de.carne.io.IOUtil
Reads eagerly the requested number of bytes and fails if they are not available.
register(String, URLStreamHandlerFactory) - Static method in class de.carne.boot.ApplicationURLStreamHandlerFactories
Registers an additional protocol.
remove(Preferences) - Method in class de.carne.util.prefs.Preference
Removes this instance's preference value.
removeHandler(Log, Handler) - Static method in class de.carne.util.logging.LogBuffer
Removes a previously added Handler from this LogBuffer instance.
removeHandler(Handler) - Method in class de.carne.util.logging.LogBuffer
Removes a previously added Handler from this LogBuffer instance.
removeHandler(Logger, Handler) - Static method in class de.carne.util.logging.LogBuffer
Removes a previously added Handler from this LogBuffer instance.
reset() - Method in interface de.carne.io.Checksum
Resets the generator to it's start state.
reset() - Method in class de.carne.io.ChecksumInputStream
 
reset() - Method in class de.carne.io.MessageDigestChecksum
 
resolve(String) - Method in class de.carne.util.PropertyResolver
Resolves the given key by searching the sources selected during instance creation.
resolve(String, String) - Method in class de.carne.util.PropertyResolver
Resolves the given key by searching the sources selected during instance creation.
rethrow(Class<T>) - Method in exception de.carne.util.function.FunctionException
Gets the wrapped exception for re-throwing.
root() - Static method in class de.carne.util.logging.Log
Gets the Log instance that represents the root Logger.
run(String[]) - Static method in class de.carne.boot.Application
Application entry point if run from another class (e.g. during tests).
run(String[]) - Method in interface de.carne.boot.ApplicationMain
Runs the application.

S

safe(String) - Static method in class de.carne.util.Strings
Makes sure a String is not null.
safeClose(Object) - Static method in class de.carne.io.Closeables
Close potential Closeable.
safeClose(Object) - Static method in class de.carne.util.AutoCloseables
Close potential AutoCloseable.
safeClose(Throwable, Object) - Static method in class de.carne.io.Closeables
Close potential Closeable.
safeClose(Throwable, Object) - Static method in class de.carne.util.AutoCloseables
Close potential AutoCloseable.
safeTrim(String) - Static method in class de.carne.util.Strings
Makes sure a String is not null and trimmed.
set(Supplier<T>) - Method in class de.carne.util.Late
Sets/initializes the object.
set(T) - Method in class de.carne.util.Late
Sets/initializes the object.
SHA256Checksum - Class in de.carne.io
SHA-256 based checksum generator.
ShutdownHooks - Class in de.carne.boot
Utility class providing the same function as Runtime.addShutdownHook(Thread) while sharing a single Thread for all hooks.
skip(long) - Method in class de.carne.io.ChecksumInputStream
 
sleep(long) - Static method in class de.carne.util.Threads
Causes the current Thread to sleep.
Slf4jProxy - Class in de.carne.util.logging.proxy
SLF4J (https://www.slf4j.org) proxy.
Slf4jProxy() - Constructor for class de.carne.util.logging.proxy.Slf4jProxy
 
slice(int, int) - Method in class de.carne.util.ByteString
Slices a sub-section from this instance.
split(String, char, boolean) - Static method in class de.carne.util.Strings
Splits a String according to a given delimiter.
splitPath(String) - Static method in class de.carne.nio.file.FileUtil
Splits a path into it's three parts directory, name and extension.
start(boolean) - Method in class de.carne.util.logging.LogRecorder
Start the recording LogRecorder.Session.
StringPreference - Class in de.carne.util.prefs
String preference access.
StringPreference(String, String) - Constructor for class de.carne.util.prefs.StringPreference
Constructs a new StringPreference instance.
Strings - Class in de.carne.util
Utility class providing String related functions.
StringValidator - Class in de.carne.util.validation
InputValidator implementation for String input.
supplier() - Method in class de.carne.util.stream.Unique
 
SYSTEM_OS_ARCH - Static variable in class de.carne.util.Platform
System property: "os.arch"
SYSTEM_OS_NAME - Static variable in class de.carne.util.Platform
System property: "os.name"
SYSTEM_OS_VERSION - Static variable in class de.carne.util.Platform
System property: "os.version"
SystemProperties - Class in de.carne.util
Utility class providing system properties related functions.
systemRoot() - Method in class de.carne.util.prefs.FilePreferencesFactory
 
systemRootFile() - Static method in class de.carne.util.prefs.FilePreferencesFactory
Gets the file path used to store system preferences.

T

Threads - Class in de.carne.util
Utility class providing Thread related functions.
tmpDir() - Static method in class de.carne.nio.file.FileUtil
Gets the temporary directory path.
toRuntime(Throwable) - Static method in class de.carne.util.Exceptions
Makes a Throwable unchecked by wrapping it into a RuntimeException if needed.
toString() - Method in class de.carne.util.ByteString
 
toString() - Method in class de.carne.util.cmdline.CmdLineAction
 
toString() - Method in class de.carne.util.cmdline.CmdLineProcessor
 
toString() - Method in class de.carne.util.Late
 
toString() - Method in class de.carne.util.Lazy
 
toString() - Method in class de.carne.util.logging.Log
 
toString() - Method in class de.carne.util.ManifestInfos
 
toString(Throwable) - Static method in class de.carne.util.Exceptions
Determines the best textual representation of a Throwable.
toStringL(byte[]) - Static method in class de.carne.text.HexBytes
Converts a byte array to a lower case hex sequence.
toStringL(byte[], int, int) - Static method in class de.carne.text.HexBytes
Converts a byte array to a lower case hex sequence.
toStringU(byte[]) - Static method in class de.carne.text.HexBytes
Converts a byte array to an upper case hex sequence.
toStringU(byte[], int, int) - Static method in class de.carne.text.HexBytes
Converts a byte array to an upper case hex sequence.
touch(Path) - Static method in class de.carne.nio.file.FileUtil
Sets the submitted file last modified time to the current time.
trace(String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_TRACE message.
trace(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_TRACE message.
trigger() - Static method in class de.carne.boot.ShutdownHooks
Triggers execution of the registered shutdown hooks.
trim(String) - Static method in class de.carne.util.Strings
Makes sure a String is either null or trimmed.

U

unexpected(Object) - Static method in class de.carne.util.Check
Throws an IllegalStateException to indicate that an unexpected data object has been encountered.
Unique<T,​R> - Class in de.carne.util.stream
Collector implementation ensuring a one element collection at the end of a stream operation.
update(byte) - Method in interface de.carne.io.Checksum
Feeds a single byte into the generator.
update(byte) - Method in class de.carne.io.MessageDigestChecksum
 
update(byte[]) - Method in interface de.carne.io.Checksum
Feeds a byte array into the generator.
update(byte[]) - Method in class de.carne.io.MessageDigestChecksum
 
update(byte[], int, int) - Method in interface de.carne.io.Checksum
Feeds a byte array into the generator.
update(byte[], int, int) - Method in class de.carne.io.MessageDigestChecksum
 
update(ByteBuffer) - Method in interface de.carne.io.Checksum
Feeds a ByteBuffer into the generator.
update(ByteBuffer) - Method in class de.carne.io.MessageDigestChecksum
 
UPPER_CASE - Static variable in class de.carne.text.HexFormat
Upper case HexFormat instance.
userDirectoryDefault(FileSystem) - Static method in class de.carne.nio.file.attribute.FileAttributes
Gets the FileSystem specific best choice for the access rights for a user's private directory.
userDirectoryDefault(Path) - Static method in class de.carne.nio.file.attribute.FileAttributes
Gets the FileSystem specific best choice for the access rights for a user's private directory.
UserFile - Class in de.carne.util.prefs
Utility class used to create user preferences files with user only access rights.
userFileDefault(FileSystem) - Static method in class de.carne.nio.file.attribute.FileAttributes
Gets the FileSystem specific best choice for the access rights for a user's private file.
userFileDefault(Path) - Static method in class de.carne.nio.file.attribute.FileAttributes
Gets the FileSystem specific best choice for the access rights for a user's private file.
userHomeDir() - Static method in class de.carne.nio.file.FileUtil
Gets the user's home directory path.
userRoot() - Method in class de.carne.util.prefs.FilePreferencesFactory
 
userRootFile() - Static method in class de.carne.util.prefs.FilePreferencesFactory
Gets the file path used to store user preferences.

V

Validation<I> - Interface in de.carne.util.validation
Functional interface used to define input validation steps.
ValidationException - Exception in de.carne.util.validation
This Exception indicates validation failures during input validation.
ValidationException(String) - Constructor for exception de.carne.util.validation.ValidationException
Constructs a new ValidationException instance.
ValidationException(String, Throwable) - Constructor for exception de.carne.util.validation.ValidationException
Constructs a new ValidationException instance.
ValidationMessage - Interface in de.carne.util.validation
Functional interface used to generate a validation message.
value(Class<?>, String, String) - Static method in class de.carne.util.SystemProperties
Gets a system property value.
value(String, String) - Static method in class de.carne.util.SystemProperties
Gets a system property value.
valueOf(char) - Static method in class de.carne.text.HexBytes
Converts a hex character to a byte value.
valueOf(Object) - Static method in class de.carne.util.Strings
Gets the string representation of the submitted object and never returns null.
valueOf(String) - Static method in class de.carne.text.HexBytes
Converts a hex sequence to a byte array.
version() - Method in class de.carne.util.ManifestInfos
Gets the module version stored in the manifest.

W

warn(Throwable) - Static method in class de.carne.util.Exceptions
Warns about a Throwable.
warning(String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_WARNING message.
warning(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Logs a LogLevel.LEVEL_WARNING message.
workingDir() - Static method in class de.carne.nio.file.FileUtil
Gets the current working directory path.
wrap(byte...) - Static method in class de.carne.util.ByteString
Constructs a new ByteString instance by wrapping the submitted bytes directly.
wrap(byte[], int, int) - Static method in class de.carne.util.ByteString
Constructs a new ByteString instance by wrapping the submitted bytes directly.
write(byte[]) - Method in class de.carne.io.ChecksumOutputStream
 
write(byte[]) - Method in class de.carne.io.NullOutputStream
 
write(byte[], int, int) - Method in class de.carne.io.ChecksumOutputStream
 
write(byte[], int, int) - Method in class de.carne.io.NullOutputStream
 
write(char[], int, int) - Method in class de.carne.io.AnsiFilter
 
write(int) - Method in class de.carne.io.AnsiFilter
 
write(int) - Method in class de.carne.io.ChecksumOutputStream
 
write(int) - Method in class de.carne.io.NullOutputStream
 
write(String, int, int) - Method in class de.carne.io.AnsiFilter
 
write(OutputStream) - Method in class de.carne.util.ByteString
Copies this instances bytes to the given OutputStream.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages