# Package org.crosswire.common.util

A collection of various generic utility classes.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Filter<T> | A method of filtering objects to those that match an arbitrary criteria.
  ReporterListener | ReporterListener informs users of problems and messages.
  URIFilter | This is the URI equivalent of FilenameFilter in the java.io package.

- Class Summary
  Class | Description
  --- | ---
  CallContext | This singleton class provides a way for a method to determine which class called it.
  ChainLink<E> | ChainLink allows for a doubly linked list embedded within objects.
  ClassUtil | Various Java Class Utilities.
  CollectionUtil | Some utils to help work with Collections.
  Convert | Conversions between various types and Strings.
  Countries | A utility class that converts ISO-3166 codes or locales to their "friendly" country name.
  CWClassLoader | CWClassLoader extends the regular class loader by using looking in more places.
  CWClassLoader.PrivilegedLoader<T> | PrivilegedLoader creates a CWClassLoader if it is able to obtain java security permissions to do so.
  CWProject | The Project class looks after the source of project files.
  DefaultURIFilter | An URIFilter that accepts all names.
  EmptyIterator<E> | An `EmptyIterator` is an `Iterator` that iterates over nothing.
  FileUtil | .
  Histogram | A simple implementation of a histogram.
  Histogram.Counter | Trivial mutable counting integer class.
  Ini | A utility class for loading an INI style, Multimap configuration file.
  IniSection | A utility class for a section of an INI style configuration file.
  IOUtil | .
  ItemIterator<T> | An `ItemIterator` is an `Iterator` that iterates a single item.
  IteratorEnumeration<E> | Convert an Iterator into a Enumeration.
  KeyValuePair | Encapsulates the key and value together.
  Language | An immutable Language by specification.
  Language.CanonicalUtils | Converts substrings to the canonical representation for language code, script and country.
  Languages | A utility class that converts bcp-47 codes as supported by `Language` to their localized language name.
  Languages.AllLanguages | Provide a fallback lookup against a huge list of all languages.
  Languages.RtoL | Provide a fallback lookup against a huge list of all languages.
  ListSet<E> | Defines a List that maintains the uniqueness of elements
  LogConfig | Loads a java logging configuration file using the JSword methodology.
  MsgBase | A base class for implementing type safe internationalization (i18n) that is easy for most cases.
  NetUtil | The NetUtil class looks after general utility stuff around the java.net package.
  NetUtil.IsDirectoryURIFilter | Check that the directories in the version directory really represent versions.
  NetUtil.URIFilterFilenameFilter | Quick implementation of FilenameFilter that uses a URIFilter
  PatternFormatter | Formats a log entry by pattern.
  PluginUtil | A plugin maps one or more implementations to an interface or abstract class via a properties file whose suffix is "plugin".
  PropertyMap | A PropertyMap is a Map<String,String> sitting over top a Property file.
  ReflectionUtil | Various utilities for calling constructors and methods via introspection.
  Reporter | This package looks after Exceptions and messages as they happen.
  Reporter.CustomAWTExceptionHandler | A class to handle AWT caught Exceptions
  ReporterEvent | An event indicating that some bit of data needs capturing.
  ResourceUtil | Better implementations of the getResource methods with less ambiguity and that are less dependent on the specific class loader situation.
  StackTrace | Unscramble the current stack, and present the data from it to the user in various forms.
  StringUtil | A generic class of String utilities.
  TimeGate | A TimeGate when entered will cause the gate to be closed for a specified period of time.
  Translations | Translations provides a list of locales that BibleDesktop has been translated into.
  Version | Version is an immutable representation of dotted "number" consisting of 1 to 4 parts.
  WebResource | A WebResource is backed by an URL and potentially the proxy through which it need go.

- Enum Summary
  Enum | Description
  --- | ---
  OSType | Types of Operating Systems for which specialized behavior is needed.

- Exception Summary
  Exception | Description
  --- | ---
  LucidException | A LucidException adds 2 concepts to a base Exception, that of a wrapped Exception, that of internationalized (i18n) messages.
  LucidRuntimeException | EventExceptions are generally used for passing problems through the event system which does not allow checked exceptions through.

## Package org.crosswire.common.util Description

A collection of various generic utility classes.