qflib 0.99

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
ArgsParser.Arbitrator Interface to be implemented if the decision whether a command line argument is a parameter or not should be made by the ArgParser's user.
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.
StreamListener Interface for listeners to input from a Stream or Reader.
ThreadPool.UnsafeRunnable This interface is similar to Runnable, except that the run method may return a value and throw any kind of Exception.
 

Class Summary
ArchiveClassLoader An ArchiveClassLoader loads classes from a single source, a ZipFile or a directory.
ArgsParser This class implements convenient command line parsing.
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.
Enum An implementation of the Enum pattern to provide enumerations for Java.
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.
ListBasedMultiMap This is a special MultiMap with a list-based value set.
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.
Misc A collection of miscellaneous utility functions.
MRUCache This is a cache that stores only a certain number of resources.
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.
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.
RingBuffer A simple thread-safe FIFO buffer that stores Objects in an array.
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.
StreamEvent Encapsulation of date received from a Stream or Reader.
StreamInput Helper to read all bytes from a stream into a byte array.
StreamMultiplexer Multiplexer that listens to input from an InputStream or a Reader and fires Events when new data arrives.
TaskQueue A TaskQueue is a Thread that executes runnables from a queue.
ThreadPool A Thread pool manages a number of Threads to execute asynchronous calls.
UnitTests  
Visitor This is a generic multi-method implementation of the Visitor pattern.
 

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.
ThreadPool.CancelledException This exception is thrown when a call executed with executeWatched is explicitely cancelled with cancelCall.
ThreadPool.TimedOutException This exception is thrown when a call executed with executeWatched times out and is interrupted by the WatchDog.
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.99