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

A

addHandler(Handler) - Method in class de.carne.util.logging.LogBufferHandler
Add a handler to forward any published log records to.
ApplicationLoader - Class in de.carne
Launcher class used to install a class loader making the jar file and it's contained jar files available for class loading.
applyConfig(String) - Static method in class de.carne.util.logging.LogConfig
Apply a logging configuration.

B

BUFFER_SIZE - Static variable in class de.carne.util.logging.LogBufferHandler
Maximum number of buffered entries.
BUILD_DATE - Static variable in class de.carne.util.Version
The build date.
BUILD_VERSION - Static variable in class de.carne.util.Version
The build version.

C

close() - Method in class de.carne.util.logging.LogBufferHandler
 
CONFIG_DEBUG - Static variable in class de.carne.util.logging.LogConfig
Debug logging configuration.
CONFIG_DEFAULT - Static variable in class de.carne.util.logging.LogConfig
Default logging configuration.
CONFIG_VERBOSE - Static variable in class de.carne.util.logging.LogConfig
Verbose logging configuration..
configTime() - Static method in class de.carne.util.logging.LogConfig
Get the timestamp the currently active logging configuration was applied.
copy(InputStream, OutputStream) - Static method in class de.carne.util.IOUtils
Copy all bytes from in to out.
copy(Reader, Writer) - Static method in class de.carne.util.IOUtils
Copy all characters from in to out.

D

de.carne - package de.carne
 
de.carne.util - package de.carne.util
 
de.carne.util.logging - package de.carne.util.logging
 
de.carne.util.prefs - package de.carne.util.prefs
 
debug(ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a debug message.
debug(Throwable, ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a debug message.
deleteDirectory(Path) - Static method in class de.carne.util.IOUtils
Delete a directory (and any contained file or sub-directory).
directory(String) - Static method in class de.carne.util.prefs.PropertiesPreferencesFactory
Get a directory within the preferences folder for storing user specific data.
DirectoryPreference - Class in de.carne.util.prefs
Utility class for managing a directory preference.
DirectoryPreference(String) - Constructor for class de.carne.util.prefs.DirectoryPreference
Construct DirectoryPreference.

E

elapsed() - Method in class de.carne.util.Nanos
Get the elapsed nanoseconds since object creation.
elapsedMillis() - Method in class de.carne.util.Nanos
Get the elapsed milliseconds since object creation.
error(ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a error message.
error(Throwable, ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a error message.
Exceptions - Class in de.carne.util
Utility class providing Exception related functions.
Exceptions() - Constructor for class de.carne.util.Exceptions
 

F

flush() - Method in class de.carne.util.logging.LogBufferHandler
 
format(LogRecord) - Method in class de.carne.util.logging.LogFormatter
 
fromFile(Path) - Static method in class de.carne.util.prefs.PropertiesPreferencesFactory
Create a Preferences object backed up by a given properties file.

G

get(Preferences) - Method in class de.carne.util.prefs.ObjectPreference
Get the preference value:
get(Preferences, T) - Method in class de.carne.util.prefs.ObjectPreference
Get the preference value:
getAsFile(Preferences) - Method in class de.carne.util.prefs.DirectoryPreference
Get the preference value (as File).
getAsFile(Preferences, File) - Method in class de.carne.util.prefs.DirectoryPreference
Get the preference value (as File).
getAsPath(Preferences) - Method in class de.carne.util.prefs.DirectoryPreference
Get the preference value (as Path).
getAsPath(Preferences, Path) - Method in class de.carne.util.prefs.DirectoryPreference
Get the preference value (as Path).
getCodeJar() - Static method in class de.carne.ApplicationLoader
Get the JarFile this application has been loaded from.
getDirectURL(URL) - Static method in class de.carne.ApplicationLoader
Get the direct URL and remove a possibly existing resource re-direct.
getFirst() - Method in class de.carne.util.Pair
 
getHandler(Logger) - Static method in class de.carne.util.logging.LogBufferHandler
Retrieve the BufferedHandler attached to a logger.
getKey() - Method in class de.carne.util.MRUList.Entry
Get the entry key.
getLogger() - Method in class de.carne.util.logging.Log
Get the underlying JDK Logger.
getSecond() - Method in class de.carne.util.Pair
 
getValue() - Method in class de.carne.util.MRUList.Entry
Get the entry value.

I

info(ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a info message.
info(Throwable, ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a info message.
init() - Static method in class de.carne.MainLoader
Perform global initialization steps and load the Main interface.
IOUtils - Class in de.carne.util
Utility class providing I/O related functions.
IOUtils() - Constructor for class de.carne.util.IOUtils
 
IS_OS_X - Static variable in class de.carne.util.Platform
OS X platform flag.
IS_WINDOWS - Static variable in class de.carne.util.Platform
Windows platform flag.
isDebugLoggable() - Method in class de.carne.util.logging.Log
Check whether debug log level is currently logged.
isEmpty(String) - Static method in class de.carne.util.Strings
Check whether a string is empty (null or "").
isInfoLoggable() - Method in class de.carne.util.logging.Log
Check whether info log level is currently logged.
isLoggable(Level) - Method in class de.carne.util.logging.Log
Check whether a log level is currently logged.

K

key() - Method in class de.carne.util.prefs.Preference
Get the preference key.

L

LEVEL_DEBUG - Static variable in class de.carne.util.logging.Log
Log level for debug messages.
LEVEL_ERROR - Static variable in class de.carne.util.logging.Log
Log level for error messages.
LEVEL_INFO - Static variable in class de.carne.util.logging.Log
Log level for info messages.
LEVEL_NOTICE - Static variable in class de.carne.util.logging.Log
Log level for notice messages used to record fundamental application states and events.
LEVEL_WARNING - Static variable in class de.carne.util.logging.Log
Log level for warning messages.
levelToString(Level) - Static method in class de.carne.util.logging.Log
Get the level string.
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(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(Level, Throwable, ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a message.
LogBufferHandler - Class in de.carne.util.logging
Handler implementation capable of buffering log messages and forwarding them to a list of registered Handler instances.
LogBufferHandler() - Constructor for class de.carne.util.logging.LogBufferHandler
 
LogConfig - Class in de.carne.util.logging
Logging configuration.
LogConfig() - Constructor for class de.carne.util.logging.LogConfig
Apply initial logging configuration.
LogFormatter - Class in de.carne.util.logging
Formatter implementation formatting LogRecords to a simple single line of text.
LogFormatter() - Constructor for class de.carne.util.logging.LogFormatter
 

M

main(String[]) - Static method in class de.carne.ApplicationLoader
Perform Classloader initialization and then invoke the actual main class.
Main - Interface in de.carne
Application entry point interface.
main(String[]) - Static method in class de.carne.MainLoader
Perform low level initialization and then forward control to the actual application.
MainLoader - Class in de.carne
Generic program main class.
MainLoader() - Constructor for class de.carne.MainLoader
 
MRUList<K,V> - Class in de.carne.util
Utility class providing MRU (most recently used) list.
MRUList(int) - Constructor for class de.carne.util.MRUList
Construct MRUList.
MRUList.Entry<K,V> - Class in de.carne.util
MRU list entry object.

N

Nanos - Class in de.carne.util
Utility class for measuring the elapsed time.
Nanos() - Constructor for class de.carne.util.Nanos
Construct Nanos.
NEWLINE - Static variable in class de.carne.util.Strings
The current VM's newline string.
notEmpty(String) - Static method in class de.carne.util.Strings
Check whether a string is not empty (not null and not "").
notice(ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a notice message.
notice(Throwable, ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a notice message.

O

ObjectPreference<T> - Class in de.carne.util.prefs
Utility class for managing a object preference.
ObjectPreference(String, Function<String, T>) - Constructor for class de.carne.util.prefs.ObjectPreference
Construct ObjectPreference.
ObjectPreference(String, Function<String, T>, Function<T, String>) - Constructor for class de.carne.util.prefs.ObjectPreference
Construct ObjectPreference.
OS_NAME - Static variable in class de.carne.util.Platform
OS name.

P

Pair<F,S> - Class in de.carne.util
Utility class used for managing 2-tuples.
Pair(F, S) - Constructor for class de.carne.util.Pair
Construct Pair.
Platform - Class in de.carne.util
Utility class for support of Java platform specific functionality.
Platform() - Constructor for class de.carne.util.Platform
 
Preference - Class in de.carne.util.prefs
Base class for all preference utility classes.
Preference(String) - Constructor for class de.carne.util.prefs.Preference
Construct Preference.
printUncaughtException(Throwable) - Static method in class de.carne.MainLoader
Print an uncaught exception to System.err.
printUncaughtException(PrintStream, Throwable) - Static method in class de.carne.MainLoader
Print uncaught exception to a specific PrintStream.
PROJECT_ID - Static variable in class de.carne.util.Version
The project id.
PROJECT_NAME - Static variable in class de.carne.util.Version
The project name.
PropertiesPreferencesFactory - Class in de.carne.util.prefs
Property file based preferences implementation.
PropertiesPreferencesFactory() - Constructor for class de.carne.util.prefs.PropertiesPreferencesFactory
 
publish(LogRecord) - Method in class de.carne.util.logging.LogBufferHandler
 

R

registerURLStreamHandlerFactory(String, URLStreamHandlerFactory) - Static method in class de.carne.ApplicationLoader
Register an additional URLStreamHandlerFactory.
remove(String, char) - Static method in class de.carne.util.Strings
Remove all occurrences of specific character from a string.
removeHandler(Handler) - Method in class de.carne.util.logging.LogBufferHandler
Remove a previously added handler.
rethrowAsRuntime(Throwable) - Static method in class de.carne.util.Exceptions
Re-throw exception as RuntimeException either directly or by wrapping it into a RuntimeException.
run(String[]) - Method in interface de.carne.Main
Run application.

S

safeTrim(String) - Static method in class de.carne.util.Strings
Perform a safe trim on a string that may be null.
set(Preferences, File) - Method in class de.carne.util.prefs.DirectoryPreference
Set the preference value (from a File object).
set(Preferences, Path) - Method in class de.carne.util.prefs.DirectoryPreference
Set the preference value (from a Path object).
set(Preferences, T) - Method in class de.carne.util.prefs.ObjectPreference
Set the preference value.
setFromFile(Preferences, File) - Method in class de.carne.util.prefs.DirectoryPreference
Set the preference value (from a File object).
setFromFile(Preferences, Path) - Method in class de.carne.util.prefs.DirectoryPreference
Set the preference value (from a Path object).
snapLevel(Level) - Static method in class de.carne.util.logging.Log
Map a level to the best matching standard level.
Strings - Class in de.carne.util
Utility class providing string related functions.
Strings() - Constructor for class de.carne.util.Strings
 
systemRoot() - Method in class de.carne.util.prefs.PropertiesPreferencesFactory
 

T

toMessage(Throwable) - Static method in class de.carne.util.Exceptions
Get the exception message.
toMillis(long) - Static method in class de.carne.util.Nanos
Convert nanoseconds value to milliseconds value.
toMillisString() - Method in class de.carne.util.Nanos
Format the elapsed milliseconds.
toMillisString(long) - Static method in class de.carne.util.Nanos
Format milliseconds value.
toNanos(long) - Static method in class de.carne.util.Nanos
Convert milliseconds value to nanoseconds value.
toString() - Method in class de.carne.util.Nanos
 
toString(long) - Static method in class de.carne.util.Nanos
Format nanoseconds value.
toString() - Method in class de.carne.util.Pair
 
toString() - Method in class de.carne.util.prefs.Preference
 

U

use(K) - Method in class de.carne.util.MRUList
Use MRU list entry.
use(K, V) - Method in class de.carne.util.MRUList
Use MRU list entry.
userRoot() - Method in class de.carne.util.prefs.PropertiesPreferencesFactory
 

V

Version - Class in de.carne.util
Class providing version information.
Version() - Constructor for class de.carne.util.Version
 

W

warning(ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a warning message.
warning(Throwable, ResourceBundle, String, Object...) - Method in class de.carne.util.logging.Log
Log a warning message.
A B C D E F G I K L M N O P R S T U V W 
Skip navigation links