- Check - Class in de.carne.check
-
Utility class providing code check related functions.
- clear() - Method in class de.carne.util.DefaultSet
-
- clear(Logger) - Static method in class de.carne.util.logging.LogBuffer
-
Get the LogBuffer and clear it's content.
- clear() - Method in class de.carne.util.logging.LogBuffer
-
Clear this log buffer.
- close() - Method in class de.carne.io.LimitOutputStream
-
- close() - Method in class de.carne.util.logging.LogBuffer
-
- close() - Method in class de.carne.util.logging.LogMonitor
-
- close() - Method in class de.carne.util.logging.LogMonitor.Session
-
- CmdLine - Class in de.carne.util.cmdline
-
Utility class for command line evaluation.
- CmdLine(String[]) - Constructor for class de.carne.util.cmdline.CmdLine
-
Construct CmdLine.
- CmdLine(Iterable<String>) - Constructor for class de.carne.util.cmdline.CmdLine
-
Construct CmdLine.
- CmdLineAction - Class in de.carne.util.cmdline
-
This class is used to define an action for command line evaluation.
- CmdLineAction() - Constructor for class de.carne.util.cmdline.CmdLineAction
-
- CmdLineActionException - Exception in de.carne.util.cmdline
-
This exception indicates a problem while invoking a command line action
CmdLineAction.
- CmdLineActionException(String) - Constructor for exception de.carne.util.cmdline.CmdLineActionException
-
Construct CmdLineActionException.
- CmdLineActionException(String, Throwable) - Constructor for exception de.carne.util.cmdline.CmdLineActionException
-
Construct CmdLineActionException.
- CmdLineActionException(String, String) - Constructor for exception de.carne.util.cmdline.CmdLineActionException
-
Construct CmdLineActionException.
- CmdLineActionException(String, String, Throwable) - Constructor for exception de.carne.util.cmdline.CmdLineActionException
-
Construct CmdLineActionException.
- CmdLineException - Exception in de.carne.util.cmdline
-
This exception indicates a problem during command line evaluation.
- collectDirectoryFiles(Path, FileVisitOption...) - Static method in class de.carne.io.IOHelper
-
Collect all files in a directory.
- collectDirectoryFiles(Path, Predicate<Path>, FileVisitOption...) - Static method in class de.carne.io.IOHelper
-
Collect all files in a directory.
- condition(boolean) - Static method in class de.carne.check.Check
-
Check and ensure that a specific condition is met.
- condition(boolean, String) - Static method in class de.carne.check.Check
-
Check and ensure that a specific condition is met.
- CONFIG_DEBUG - Static variable in class de.carne.util.logging.LogConfig
-
Debug logging configuration file name.
- CONFIG_DEFAULT - Static variable in class de.carne.util.logging.LogConfig
-
Default logging configuration file name.
- CONFIG_VERBOSE - Static variable in class de.carne.util.logging.LogConfig
-
Verbose logging configuration file name.
- copyStream(InputStream, OutputStream) - Static method in class de.carne.io.IOHelper
-
Copy all data from an InputStream to an OutputStream.
- createTempDirFromZIPResource(URL, String, FileAttribute<?>...) - Static method in class de.carne.io.IOHelper
-
Create a temporary directory and initialize it by copying a ZIP resource's content.
- createTempDirFromZIPResource(URL, Path, String, FileAttribute<?>...) - Static method in class de.carne.io.IOHelper
-
Create a temporary directory and initialize it by copying a ZIP resource's content.
- createTempFileFromResource(URL, String, String, FileAttribute<?>...) - Static method in class de.carne.io.IOHelper
-
Create a temporary file and initialize it by copying a resource's content.
- createTempFileFromResource(URL, Path, String, String, FileAttribute<?>...) - Static method in class de.carne.io.IOHelper
-
Create a temporary file and initialize it by copying a resource's content.
- createURLStreamHandler(String) - Method in class de.carne.ApplicationURLStreamHandlerFactory
-
- customRoot(Path) - Static method in class de.carne.util.prefs.PropertiesPreferencesFactory
-
Create a Preferences object backed up by a custom properties file.
- get() - Method in class de.carne.util.Late
-
Get the hold object.
- get() - Method in class de.carne.util.Lazy
-
Get the hold object.
- get() - Method in class de.carne.util.prefs.Preference
-
Get the preference value.
- get(T) - Method in class de.carne.util.prefs.Preference
-
Get the preference value.
- get(Class<?>, String, String) - Static method in class de.carne.util.PropertiesHelper
-
Get a String system property.
- get(Properties, String, String) - Static method in class de.carne.util.PropertiesHelper
-
Get a String property.
- getApplicationJarFile() - Static method in class de.carne.ApplicationLoader
-
Get the JarFile this application has been loaded from.
- getArg() - Method in exception de.carne.util.cmdline.CmdLineActionException
-
Get the causing argument.
- getArg() - Method in exception de.carne.util.cmdline.CmdLineException
-
Get the causing argument.
- getBoolean(boolean) - Method in class de.carne.util.prefs.BooleanPreference
-
Get the preference value.
- getDefault() - Method in class de.carne.util.DefaultSet
-
Get the default entry.
- getDirectURL(URL) - Static method in class de.carne.ApplicationLoader
-
Get the direct URL and remove a possibly existing resource re-direct.
- getIfInitialized() - Method in class de.carne.util.Late
-
Get the hold object if it has been initialized.
- getInstance(Logger) - Static method in class de.carne.util.logging.LogBuffer
-
Get the LogBuffer instance attached to a given Logger.
- getInt(int) - Method in class de.carne.util.prefs.IntPreference
-
Get the preference value.
- getInt(Class<?>, String, int) - Static method in class de.carne.util.PropertiesHelper
-
Get a int system property.
- getInt(Properties, String, int) - Static method in class de.carne.util.PropertiesHelper
-
Get a int property.
- getLogger() - Method in class de.carne.util.logging.Log
-
Get the underlying JDK Logger instance.
- getLong(long) - Method in class de.carne.util.prefs.LongPreference
-
Get the preference value.
- getOption() - Method in exception de.carne.util.cmdline.CmdLineActionException
-
Get the argument option (if existent).
- getOption() - Method in exception de.carne.util.cmdline.CmdLineException
-
Get the argument option (if existent).
- getRecords() - Method in class de.carne.util.logging.LogMonitor
-
Get the LogRecords collected by this monitor.
- getStackTrace(Throwable) - Static method in class de.carne.util.Exceptions
-
Get an Exception's stack trace.
- getValueAsFile() - Method in class de.carne.util.prefs.PathPreference
-
Get the preference value as a File object.
- getValueAsFile(File) - Method in class de.carne.util.prefs.PathPreference
-
Get the preference value as a File object.
- ignore(Throwable) - Static method in class de.carne.util.Exceptions
-
Ignore an Exception.
- includeLog(Log) - Method in class de.carne.util.logging.LogMonitor.Session
-
Include a
Log in the monitoring session.
- includeLogger(Logger) - Method in class de.carne.util.logging.LogMonitor.Session
-
Include a Logger in the monitoring session.
- includePackage(Package) - Method in class de.carne.util.logging.LogMonitor.Session
-
Include the loggers for a specific Package in monitoring.
- includeThread(Thread) - Method in class de.carne.util.logging.LogMonitor
-
Include a Thread in monitoring.
- info(String, Object...) - Method in class de.carne.util.logging.Log
-
Log info message.
- info(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
-
Log info message.
- init(T) - Method in class de.carne.util.Late
-
Initialize the hold object.
- init(Class<?>) - Static method in class de.carne.util.PropertiesHelper
-
Initialize a Properties object for a specific class.
- InputValidator - Class in de.carne.util.validation
-
This class provides validation function for all kind of general input.
- IntPreference - Class in de.carne.util.prefs
-
Utility class providing access to a Integer preference.
- IntPreference(Preferences, String) - Constructor for class de.carne.util.prefs.IntPreference
-
Construct IntPreference.
- IOHelper - Class in de.carne.io
-
Utility class providing I/O related functions.
- IS_DIRECTORY - Static variable in class de.carne.util.prefs.PathPreference
-
Files.isDirectory(Path, java.nio.file.LinkOption...) validator.
- IS_LINUX - Static variable in class de.carne.OS
-
Linux platform flag.
- IS_MACOS - Static variable in class de.carne.OS
-
macOS platform flag.
- IS_REGULAR_FILE - Static variable in class de.carne.util.prefs.PathPreference
-
Files.isRegularFile(Path, java.nio.file.LinkOption...) validator.
- IS_WINDOWS - Static variable in class de.carne.OS
-
Windows platform flag.
- isDebugLoggable() - Method in class de.carne.util.logging.Log
-
Check whether this log is active for level debug.
- isDirectoryPath(String, MessageFormatter) - Static method in class de.carne.util.validation.PathValidator
-
Make sure input is a directory path.
- isEmpty(String) - Static method in class de.carne.util.Strings
-
Check whether a String is empty.
- isErrorLoggable() - Method in class de.carne.util.logging.Log
-
Check whether this log is active for level error.
- isInfoLoggable() - Method in class de.carne.util.logging.Log
-
Check whether this log is active for level info.
- isInitialized() - Method in class de.carne.util.Late
-
Check whether the hold object has already been initialized (by call to
Late.init(Object)).
- isInitialized() - Method in class de.carne.util.Lazy
-
Check whether the hold object has already been initialized (by a call to
Lazy.get()).
- isLoggable(Level) - Method in class de.carne.util.logging.Log
-
Check whether this log is active for a specific level.
- isNoticeLoggable() - Method in class de.carne.util.logging.Log
-
Check whether this log is active for level notice.
- isPath(String, MessageFormatter) - Static method in class de.carne.util.validation.PathValidator
-
Make sure input is a valid path.
- isPath(Path, String, MessageFormatter) - Static method in class de.carne.util.validation.PathValidator
-
Make sure input is a valid relative path.
- isReadablePath(String, MessageFormatter) - Static method in class de.carne.util.validation.PathValidator
-
Make sure input is a readable path.
- isRegularFilePath(String, MessageFormatter) - Static method in class de.carne.util.validation.PathValidator
-
Make sure input is a file path.
- isTraceLoggable() - Method in class de.carne.util.logging.Log
-
Check whether this log is active for level trace.
- isTrue(boolean, MessageFormatter) - Static method in class de.carne.util.validation.InputValidator
-
Make sure a condition is met.
- isWarningLoggable() - Method in class de.carne.util.logging.Log
-
Check whether this log is active for level warning.
- isWritablePath(String, MessageFormatter) - Static method in class de.carne.util.validation.PathValidator
-
Make sure input is a writable path.
- Late<T> - Class in de.carne.util
-
Utility class used to manage late initialized objects.
- Late() - Constructor for class de.carne.util.Late
-
- Lazy<T> - Class in de.carne.util
-
Utility class used to manage lazy initialized objects.
- Lazy(Supplier<T>) - Constructor for class de.carne.util.Lazy
-
Construct Lazy.
- 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
- LimitOutputStream<T extends java.io.OutputStream> - Class in de.carne.io
-
OutputStream implementation used for limiting the number of bytes to be written to an underlying
OutputStream.
- LimitOutputStream(T, long) - Constructor for class de.carne.io.LimitOutputStream
-
Construct LimitOutputStream.
- load(Class<?>) - Static method in class de.carne.util.PropertiesHelper
-
Load a Properties object for a specific class.
- loadClass(String) - Method in class de.carne.ApplicationLoader
-
- Log - Class in de.carne.util.logging
-
Simple wrapper for JDK's Logger class to have a minimum level of abstraction and a clear level semantics.
- Log() - Constructor for class de.carne.util.logging.Log
-
Construct Log.
- Log(ResourceBundle) - Constructor for class de.carne.util.logging.Log
-
Construct Log.
- Log(Class<?>) - Constructor for class de.carne.util.logging.Log
-
Construct Log.
- Log(Class<?>, ResourceBundle) - Constructor for class de.carne.util.logging.Log
-
Construct Log.
- Log(String) - Constructor for class de.carne.util.logging.Log
-
Construct Log.
- Log(String, ResourceBundle) - Constructor for class de.carne.util.logging.Log
-
Construct Log.
- log(Level, Throwable, String, Object...) - Method in class de.carne.util.logging.Log
-
Issue a log message.
- LogBuffer - Class in de.carne.util.logging
-
Handler implementation used to buffer log records for later publishing by one or more dynamically defined
Handler instances.
- LogBuffer() - Constructor for class de.carne.util.logging.LogBuffer
-
- LogConfig - Class in de.carne.util.logging
-
This class is used for logging initialization during startup and afterwards.
- LogConfig() - Constructor for class de.carne.util.logging.LogConfig
-
Initialize the logging system using the default configuration.
- LogLevel - Class in de.carne.util.logging
-
Custom level class for supporting the level names as defined by the
Log class.
- LogLineFormatter - Class in de.carne.util.logging
-
Formatter implementation producing a static non-localized single line format output.
- LogLineFormatter() - Constructor for class de.carne.util.logging.LogLineFormatter
-
- LogMonitor - Class in de.carne.util.logging
-
This class is used to monitor and record log messages in a selective manner and only during a defined period (for
example to display them to the user after a long running task).
- LogMonitor(LogLevel) - Constructor for class de.carne.util.logging.LogMonitor
-
Construct LogMonitor.
- LogMonitor.Session - Class in de.carne.util.logging
-
This class represents a running monitoring session.
- LongPreference - Class in de.carne.util.prefs
-
Utility class providing access to a Long preference.
- LongPreference(Preferences, String) - Constructor for class de.carne.util.prefs.LongPreference
-
Construct LongPreference.