com.borland Packages  com.borland Class Hierarchy

Chapter 8
jb.util package


About the com.borland.jb.util package

The jb.util package contains utility classes and interfaces. These classes are used by classes in other com.borland packages.

The jb.util package contains the following types of classes:

Trace is an internal use only class. Do not use this class directly.

See also:
Overview of classes in this package
Library overview


Interfaces

  • ChainedException
  • ExceptionDispatch
  • ExceptionHandler
  • Trace
  • TriStateProperty
  • VetoableDispatch
  • Classes and components

  • ArrayResourceBundle
  • BasicBeanInfo
  • Diagnostic
  • DispatchableEvent
  • ErrorResponse
  • EventMulticaster
  • ExceptionChain
  • FastStringBuffer
  • Hex
  • LocaleUtil
  • SearchPath
  • StringArrayResourceBundle
  • VetoException

  • Overview of classes in the com.borland.jb.util package

    Diagnostic classes

    Diagnostic
    A collection of diagnostic functions for debugging program flow and output.

    Event-dispatching classes

    DispatchableEvent
    An interface for dispatchable events.
    VetoableDispatch
    An interface for events that can be vetoed.
    VetoException
    Thrown when an event listener wants to halt multicasting of a vetoable event.

    Exception-related classes

    ErrorResponse
    Used for collecting a response to an error from a component.
    ExceptionDispatch
    An interface for events that can throw exceptions that EventMulticaster can send to multiple listeners.
    ExceptionChain
    Represents the node of a ChainedException object.
    ExceptionHandler
    An interface that allows an object to generically handle exceptions.
    ChainedException
    An interface that collects generic routines to handle chained exceptions.

    I/O classes

    FastStringBuffer
    A class to use instead of StringBuffer when a buffer is not shared. Avoids complications of synchronization and sharing.

    Internationalization classes

    ArrayResourceBundle
    An abstract subclass of java.util.ResourceBundle that manages locale-dependent resources in an array. Uses numeric references rather than string references, for less overhead and better performance than JDK resource bundle classes.
    LocaleUtil
    Returns the locale identified by a single string with "locale_country_variant" as returned by Locale.toString().

    Multicaster classes

    EventMulticaster
    For user-defined events. Used for model events and selection events.

    TriState interfaces

    TriStateProperty
    A general-purpose interface containing the values TRUE, FALSE, and DEFAULT.

    Miscellaneous util classes

    BasicBeanInfo
    A convenient implementation of the BeanInfo interface, designed to be subclassed to fill in appropriate properties, methods, and events for a JavaBean.
    Hex
    Static definitions of hexadecimal characters as chars and as bytes.
    SearchPath
    Encapsulates a search path (such as classpath), and can perform searches along that path given a relative directory and filename.