# Package de.caff.util

Miscellaneous utility classes.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  BitFlag | A single bit flag.
  BitMask | A set of bit flags.
  ByteCollector | Byte collector interface.
  EventQueueExceptionListener | A listener which is used in `Utility` as a callback for exceptions which occur in the event queue.
  KnockOffListener | A knock off listener is invoked when a `Worker` has finished.
  SemanticVersionChecker.ProgramAccess | Program information necessary for automatic update.
  TextTemplateHandler.CtxExpander<T> | Expander which uses a context.
  TextTemplateHandler.Expander | Context-less expander.
  VersionChecker.ProgramAccess | Program information necessary for automatic update.

- Class Summary
  Class | Description
  --- | ---
  AbstractBasicStatusFlag | Bit flag enum with internationalized description.
  Base64 | Encodes and decodes to and from Base64 notation.
  Base64.InputStream | A `Base64.InputStream` will read data from another `java.io.InputStream`, given in the constructor, and encode/decode to/from Base64 notation on the fly.
  Base64.OutputStream | A `Base64.OutputStream` will write data to another `java.io.OutputStream`, given in the constructor, and encode/decode to/from Base64 notation on the fly.
  BitMask16 | A bit mask for 16 bit flags.
  BitMask32 | A bit mask for 32 bit flags.
  BitMask64 | A bit mask for 64 bit flags.
  BitMaskUtil | Helper class for bit masks.
  BitSetBitMask | A bit set based bit mask.
  ByteBufferInputStream | Input stream which reads from a `ByteBuffer`.
  ByteRingBuffer | A byte buffer to which you can add data bytes up to a maximum size.
  ColorDecoder | ColorDecoder provides enhanced methods to decode color names and values compared to `java.awt.Color.decode()`.
  ColorDecoder.Domain | Private class use as a typed enum.
  CountingInputStream | Input stream wrapper which keeps track of the position.
  CountingOutputStream | A wrapper output streams which counts the bytes written so far.
  EnumBitMask<E extends java.lang.Enum<E> & BitFlag> | Type safe bit flags.
  Enums | Deprecated move to `Enums` in module generics
  EventQueueExceptionWrapper | A wrapper for the event queue which catches all uncaught exceptions and distributes them to `EventQueueExceptionListener`s.
  FileTool | Helper tools for handling files.
  GlobMatcher | This class handles simple glob matching: `*` stands for any number of chars (including zero) `?`
  ImageToImageDrawer | Class which draws an image centered to another image, while taking care of deferred image loading.
  ImprovedStringWriter | Basically the same as `StringWriter`, but using a more efficient `StringBuilder` instead of a `StringBuffer`.
  IntegerStringCharacterIterator | Deprecated Name is badly chosen, use `StringCodePointIterator` instead.
  IOUtil | Helpers for i/o.
  ModuleVersion | Module version information.
  Primitives | Deprecated Moved to different package, use `Primitives` instead
  RingBuffer<T> | A byte buffer to which you can add data up to a maximum size.
  SemanticVersionChecker | Check whether a new program version is available.
  SemanticVersionChecker.Version | Helper class for a simple version build from numbers separated by points.
  SimpleBitFlag | A simple bit flag implementation.
  StatusFlag | Concrete implementation of a status flag, using int values.
  StringCodePointIterator | A simplified drop in for `java.text.StringCharacterIterator` which takes care of 32bit characters.
  StringHelper |
  StringTool | Helper class with tools for string handling.
  TextLineRingBuffer | A text line ring buffer working as a byte collector.
  TextTemplateHandler<T> | Simple template handler allowing to expand special strings in texts.
  TextTemplateHandler.WithoutContext | Helper class.
  Utility | Utility contains various helpful functionality.
  VersionChecker | Check whether a new program version is available.
  VersionChecker.Version | Helper class for a simple version build from numbers separated by points.
  Worker | A Runnable which knows of exceptions.

- Enum Summary
  Enum | Description
  --- | ---
  ByteOrderMark | Byte order mark support.
  MemFormat | Helper for formatting memory sizes in a more human-readable form.
  ParameterTypes | Types of parameters (Java properties) requested via utility class.
  TriState | A tri-state which is either on, off, or undefined.

## Package de.caff.util Description

Miscellaneous utility classes.