Package jade.util

This package contains utility classes and in particular: classes for handling properties in an extended way (see the Tutorial), the Logger class for logging capabilities; the leap subpackage, that is a replacement for the Java collection framework that is not supported by J2ME.

See:
          Description

Interface Summary
ClassFinderFilter  
ClassFinderListener  
ObjectManager.Loader The interface to be implemented by classes that can be registered to load objects of a given type
 

Class Summary
AccessControlList An ACL object represents an Access Control List and wraps a White list and a Black list, Both lists make use of regular expressions for allowing/denying access to a certain resource.
ClassFinder This utility class was based originally on Daniel Le Berre's RTSI class.
Event This class represents a generic event carrying some information (accessible in the form of Object parameters) and provides support for synchronous processing through the waitUntilProcessed() and notifyProcessed() methods.
ExtendedProperties Provides enhanced property management.
HashCache This class is a cache with fixed dimension that can be set in the constructur.
InputQueue This class implements a FIFO queue of objects that can be put and got in a synchronized way.
Logger This class provides a uniform API to produce logs over a set of different and device-dependent logging mechanisms.
ObjectManager Utility class to manage instances of classes with attached properties i.e. classes specified in the form
foo.Bar[key1=value1;key2=value2...]
PerDayFileLogger This class is an OutputStream whose output is stored in in different files according to the day it is produced.
PrintStreamSplitter This class is an OutputStream whose output is duplicated and forwarded to two different output streams.
RWLock This class provides support for synchronizing threads acting on a generic resource in such a way that - If a thread is writing the resource no other thread can act on it in any way - Several threads can read the resource at the same time - If one or more threads are reading the resource no thread can write it
SynchList Implementation of a list of objects providing methods to synchronize threads acting on the list in such a way to prevent concurrent modifications (addition/remotion of elements) and concurrent scanning/modification.
TransportAddressWrapper This class wraps a Transport Address and implements the equals() and hashCode() methods so that two Transport Addresses representing the same address, even if possibly expressed in different forms, are actually considered equals.
 

Exception Summary
PropertiesException Property related exception.
WrapperException This class acts as a base class for all the exceptions that wrap another (nested) exception.
 

Package jade.util Description

This package contains utility classes and in particular: