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

A

addHandler(Log, Handler) - Static method in class de.carne.util.logging.LogBuffer
Add a Handler to a LogBuffer for LogRecord consuming.
addHandler(Logger, Handler) - Static method in class de.carne.util.logging.LogBuffer
Add a Handler to a LogBuffer for LogRecord consuming.
addHandler(Handler) - Method in class de.carne.util.logging.LogBuffer
Add a Handler to the LogBuffer 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.
Application - Class in de.carne
Generic main class responsible for bootstrapping of the actual application and taking care of proper class loader setup depending on the execution context.
APPLICATION_BUILD - Static variable in class de.carne.util.ApplicationManifestInfo
The application build (X-Application-Build).
APPLICATION_NAME - Static variable in class de.carne.util.ApplicationManifestInfo
The application name (X-Application-Name).
APPLICATION_VERSION - Static variable in class de.carne.util.ApplicationManifestInfo
The application version (X-Application-Version).
ApplicationInitializationException - Exception in de.carne
Indicates an initialization error during application startup.
ApplicationInitializationException(String) - Constructor for exception de.carne.ApplicationInitializationException
ApplicationInitializationException(Throwable) - Constructor for exception de.carne.ApplicationInitializationException
ApplicationMain - Interface in de.carne
Application entry point.
ApplicationManifestInfo - Class in de.carne.util
Utility class used to retrieve version info and the like from the application manifest.
arg(String) - Method in class de.carne.util.cmdline.CmdLineAction
Add an argument string that should be trigger this CmdLineAction.
arg() - Method in exception de.carne.util.cmdline.CmdLineException
Get the argument string causing the processing failure.
assertTrue(boolean) - Static method in class de.carne.check.Check
Check and ensure that a specific condition is met.
assertTrue(boolean, String) - Static method in class de.carne.check.Check
Check and ensure that a specific condition is met.

B

booleanValue(String) - Static method in class de.carne.util.SystemProperties
Get boolean system property value.
booleanValue(String, boolean) - Static method in class de.carne.util.SystemProperties
Get boolean system property value.

C

Check - Class in de.carne.check
Utility class providing code check related functions.
close() - Method in class de.carne.util.logging.LogBuffer
 
close() - Method in class de.carne.util.logging.LogRecorder.Session
 
cmdLine() - Method in exception de.carne.util.cmdline.CmdLineException
Get 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
Construct CmdLineException.
CmdLineProcessor - Class in de.carne.util.cmdline
Utility class for command line processing.
CmdLineProcessor(String, String[]) - Constructor for class de.carne.util.cmdline.CmdLineProcessor
Construct CmdLineProcessor.
CmdLineProcessor(String, Iterable<String>) - Constructor for class de.carne.util.cmdline.CmdLineProcessor
Construct CmdLineProcessor.
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.
contains(String) - Method in class de.carne.util.cmdline.CmdLineAction
Check whether the submitted argument string is a trigger for this CmdLineAction.
copyFile(OutputStream, File) - Static method in class de.carne.io.IOUtil
Copy all bytes from an File to an OutputStream.
copyFile(File, File) - Static method in class de.carne.io.IOUtil
Copy all bytes from an File to a File.
copyStream(OutputStream, InputStream) - Static method in class de.carne.io.IOUtil
Copy all bytes from one stream to another.
copyStream(File, InputStream) - Static method in class de.carne.io.IOUtil
Copy all bytes from an InputStream to a File.
copyUrl(OutputStream, URL) - Static method in class de.carne.io.IOUtil
Copy all bytes from an URL to an OutputStream.
copyUrl(File, URL) - Static method in class de.carne.io.IOUtil
Copy all bytes from an URL to a File.

D

de.carne - package de.carne
 
de.carne.check - package de.carne.check
 
de.carne.io - package de.carne.io
 
de.carne.util - package de.carne.util
 
de.carne.util.cmdline - package de.carne.util.cmdline
 
de.carne.util.logging - package de.carne.util.logging
 
debug(String, Object...) - Method in class de.carne.util.logging.Log
Log a LogLevel.LEVEL_DEBUG message.
debug(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Log a LogLevel.LEVEL_DEBUG message.

E

error(String, Object...) - Method in class de.carne.util.logging.Log
Log a LogLevel.LEVEL_ERROR message.
error(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Log 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.

F

fail() - Static method in class de.carne.check.Check
Throw an IllegalStateException to indicate that an unexpected execution state occurred.
fail(String) - Static method in class de.carne.check.Check
Throw an IllegalStateException to indicate that an unexpected execution state occurred.
flush(Log) - Static method in class de.carne.util.logging.LogBuffer
Perform a flush operation on a LogBuffer.
flush(Logger) - Static method in class de.carne.util.logging.LogBuffer
Perform a flush operation on a LogBuffer.
flush() - Method in class de.carne.util.logging.LogBuffer
 
flush() - Method in class de.carne.util.logging.LogRecorder.Session
 

G

get() - Method in class de.carne.util.Late
Get the object.
get() - Method in class de.carne.util.Lazy
Get the object.
get(Log) - Static method in class de.carne.util.logging.LogBuffer
Get the LogBuffer attached to the submitted Log (if any).
get(Logger) - Static method in class de.carne.util.logging.LogBuffer
Get the LogBuffer attached to the submitted Logger (if any).
getMain(Class<T>) - Static method in class de.carne.Application
Get the currently executing ApplicationMain class.
getRecords() - Method in class de.carne.util.logging.LogRecorder.Session
Get the LogRecords that have been recorded by this LogRecorder.Session so far.
getStackTrace(Throwable) - Static method in class de.carne.util.Exceptions
Get an Throwable's stack trace.

I

ignore(String) - Static method in class de.carne.util.cmdline.CmdLineProcessor
Pre-defined ignore action to ignore specific arguments.
ignore(Throwable) - Static method in class de.carne.util.Exceptions
Ignore an Throwable.
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
Log a LogLevel.LEVEL_INFO message.
info(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Log a LogLevel.LEVEL_INFO message.
intValue(String) - Static method in class de.carne.util.SystemProperties
Get int system property value.
intValue(String, int) - Static method in class de.carne.util.SystemProperties
Get int system property value.
IOUtil - Class in de.carne.io
Utility class providing I/O related functions.
isActionArg(String) - Static method in class de.carne.util.cmdline.CmdLineProcessor
Check whether an argument string is a valid action argument.
isDebugLoggable() - Method in class de.carne.util.logging.Log
Check whether a LogLevel.LEVEL_DEBUG message of level would be logged by this Log.
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 a LogLevel.LEVEL_ERROR message of level would be logged by this Log.
isInfoLoggable() - Method in class de.carne.util.logging.Log
Check whether a LogLevel.LEVEL_INFO message of level would be logged by this Log.
isLoggable(Level) - Method in class de.carne.util.logging.Log
Check whether a message of the submitted Level would be logged by this Log.
isNoticeLoggable() - Method in class de.carne.util.logging.Log
Check whether a LogLevel.LEVEL_NOTICE message of level would be logged by this Log.
isTraceLoggable() - Method in class de.carne.util.logging.Log
Check whether a LogLevel.LEVEL_TRACE message of level would be logged by this Log.
isWarningLoggable() - Method in class de.carne.util.logging.Log
Check whether a LogLevel.LEVEL_WARNING message of level would be logged by this Log.

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.
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.
LIMIT - Static variable in class de.carne.util.logging.LogBuffer
The maximum number of LogRecords stored in the buffer.
Log - Class in de.carne.util.logging
Wrapper class for the JDK's Logger class to make logging easy and efficient.
Log() - Constructor for class de.carne.util.logging.Log
Construct Log.
Log(String) - Constructor for class de.carne.util.logging.Log
Construct Log.
Log(Class<?>) - Constructor for class de.carne.util.logging.Log
Construct Log.
Log(Class<?>, String) - Constructor for class de.carne.util.logging.Log
Construct Log.
log(Level, Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Log a message with the given severity.
LogBuffer - Class in de.carne.util.logging
Handler implementation used to buffer LogRecords (e.g.
LogBuffer() - Constructor for class de.carne.util.logging.LogBuffer
 
logger() - Method in class de.carne.util.logging.Log
Get the Logger represented by this instance.
LogLevel - Class in de.carne.util.logging
Custom Level class for the log levels used by class Log.
LogRecorder - Class in de.carne.util.logging
This class is used to record LogRecords in a selective manner (e.g.
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.

M

main(String[]) - Static method in class de.carne.Application
Main entry point.
manifest() - Static method in class de.carne.Application
Get application Manifest.

N

name() - Method in interface de.carne.ApplicationMain
Get application name.
NonNull - Annotation Type in de.carne.check
This element is assumed to be never null.
NonNullByDefault - Annotation Type in de.carne.check
This element's sub-elements are assumed to be never null (NonNull).
notEmpty(String) - Static method in class de.carne.util.Strings
Check whether a String is not empty.
notice(String, Object...) - Method in class de.carne.util.logging.Log
Log a LogLevel.LEVEL_NOTICE message.
notice(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Log a LogLevel.LEVEL_NOTICE message.
notNull(T) - Static method in class de.carne.check.Check
Check and ensure that an Object is not null.
notNull(T, String) - Static method in class de.carne.check.Check
Check and ensure that an Object is not null.
Nullable - Annotation Type in de.carne.check
This element may be null.

O

onOption(BiConsumer<String, String>) - Method in class de.carne.util.cmdline.CmdLineProcessor
Add a CmdLineAction for option argument ({@code e.g.
onSwitch(Consumer<String>) - Method in class de.carne.util.cmdline.CmdLineProcessor
Add a CmdLineAction for switch argument ({@code e.g.
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.

P

process() - Method in class de.carne.util.cmdline.CmdLineProcessor
Process the command line and invoke the correspond actions.
publish(LogRecord) - Method in class de.carne.util.logging.LogBuffer
 
publish(LogRecord) - Method in class de.carne.util.logging.LogRecorder.Session
 

R

readConfig(String) - Static method in class de.carne.util.logging.Logs
Read and apply LogManager configuration.
registerURLStreamHandlerFactory(String, URLStreamHandlerFactory) - Static method in class de.carne.Application
Register URLStreamHandlerFactory
removeHandler(Log, Handler) - Static method in class de.carne.util.logging.LogBuffer
Remove a previously added Handler from a LogBuffer.
removeHandler(Logger, Handler) - Static method in class de.carne.util.logging.LogBuffer
Remove a previously added Handler from a LogBuffer.
removeHandler(Handler) - Method in class de.carne.util.logging.LogBuffer
Remove a previously added Handler from the LogBuffer.
run(String[]) - Method in interface de.carne.ApplicationMain
Run application.

S

safe(String) - Static method in class de.carne.util.Strings
Make sure a String is not null.
safeTrim(String) - Static method in class de.carne.util.Strings
Make sure a String is not null and trimmed.
set(T) - Method in class de.carne.util.Late
Set/initialize the object.
sleep(long) - Static method in class de.carne.util.Threads
Causes the current Thread to sleep.
start(boolean) - Method in class de.carne.util.logging.LogRecorder
Start the recording LogRecorder.Session.
Strings - Class in de.carne.util
Utility class providing String related functions.
SystemProperties - Class in de.carne.util
Utility class providing system properties related functions.

T

Threads - Class in de.carne.util
Utility class providing Thread related functions.
toRuntime(Throwable) - Static method in class de.carne.util.Exceptions
Make an Throwable unchecked by wrapping it into a RuntimeException.
toString() - Method in class de.carne.util.cmdline.CmdLineAction
 
toString() - Method in class de.carne.util.cmdline.CmdLineProcessor
 
toString(Throwable) - Static method in class de.carne.util.Exceptions
Determine the best textual representation of an Throwable.
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
 
trace(String, Object...) - Method in class de.carne.util.logging.Log
Log a LogLevel.LEVEL_TRACE message.
trace(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Log a LogLevel.LEVEL_TRACE message.

W

warn(Throwable) - Static method in class de.carne.util.Exceptions
Warn about an Throwable.
warning(String, Object...) - Method in class de.carne.util.logging.Log
Log a LogLevel.LEVEL_WARNING message.
warning(Throwable, String, Object...) - Method in class de.carne.util.logging.Log
Log a LogLevel.LEVEL_WARNING message.
A B C D E F G I L M N O P R S T W 
Skip navigation links