qflib 0.98.1

Package de.qfs.lib.util

This package is a collection of independent little utility classes that don't fit in anywhere else.

See:
          Description

Interface Summary
ClassWrapperAware Classes can implement this interface to signal a ClassWrapper that they are aware of (at least some of) their partner classes, overriding the default mechanism of a ClassWrapper when generating a wrapper class.
CountListener Interface for listeners to changes in a CountingInputStream.
ExceptionHandler A handler for exceptions.
MRUCacheListener A listener for resources dropped from an MRUCache.
MultiMap.ValueSet This interface is a marker for the actual Set used to store multiple values for the same key in a MultiMap.
 

Class Summary
ArchiveClassLoader An ArchiveClassLoader loads classes from a single source, a ZipFile or a directory.
ArgsParser This class implements convenient command line parsing.
ArgsParser.UnitTest Test cases for the ArgsParser class.
ClassWrapper A ClassWrapper is one possible answer to the problem of parallel class hierarchies.
CollateComparator Standard comparison interface for Strings using a Collator for the current default locale.
CountEvent Event object that contains details about read count changes in a CountingInputStream.
CountingInputStream This class adapts an InputStream to count the bytes read from it.
DelayedAction A DelayedAction is something that is generally useful in event handling, if subsequent events of the same kind cancel each other and the number of pending events is unknown at the time one event is handled.
DynamicClassLoader A DynamicClassLoader is a valuable tool, particularly during the development phase of a program, since it can load new versions of a class into a running program without restarting it.
ExtensionFileFilter Generic extension based file filter for AWT and Swing file chooser dialogs as well as for File.list.
InputStreamAdapter This is a baseclass for InputStream adapters.
LogSetup This utility class simplifies the setup of the logging system via command line options.
MapResourceBundle The MapResourceBundle class extends the standard ResourceBundle to provide a more convenient overall handling of resources and property files.
MessageCollector Very simple mechanism for collecting warning and error messages.
MRUCache This is a cache that stores only a certain number of resources.
MRUCache.UnitTest Test cases for the MRUCache class.
MRUCacheEvent Event object that contains details about resources being dropped from an overflowing MRUCache.
MultiMap This is a special implementation of the Map interface that can store more than one value per key.
MultiMap.UnitTest Test cases for the MultiMap class.
Reflector This class holds a collection of static methods for convenient access to the reflection API.
RelocatingObjectInputStream The RelocatingObjectInputStream is useful when a class has been moved to a different package and some serialized Objects of its type should be restored.
ResourceWaiter This class is useful in cases where several Threads are waiting for a limited number of resources.
StablePipedOutputStream A StablePipedOutputStream extends PipedOutputStream to pass all data written to it through the same thread to avoid broken pipes when writing within a temporary thread.
StreamInput Helper to read all bytes from a stream into a byte array.
TaskQueue A TaskQueue is a Thread that executes runnables from a queue.
TaskQueue.UnitTest Test cases for the TaskQueue class.
ThreadPool A Thread pool manages a number of Threads to execute asynchronous calls.
UnitTests Test suite for util package unit testing.
Visitor This is a generic multi-method implementation of the Visitor pattern.
Visitor.UnitTest Test cases for the Visitor class.
 

Exception Summary
MalformedArgumentListException A MalformedArgumentListException is the base class for exceptions thrown by ArgsParser.parse when it encounters inconsistencies in the command line arguments.
MissingParameterException This exception is thrown by ArgsParser.parse when it encouters an option that has a required parameter, but none was given on the command line or in the options file.
UnexpectedParameterException This exception is thrown by ArgsParser.parse when it encouters an option that may not have a parameter, but one was given on the command line or in the options file.
UnknownOptionException This exception is thrown by ArgsParser.parse when it encouters an option that has not been defined.
 

Package de.qfs.lib.util Description

This package is a collection of independent little utility classes that don't fit in anywhere else.


qflib 0.98.1