JAC project
AOPSYS
CEDRIC & LIP6 labs

Package org.objectweb.jac.util

Provides some useful classes for JAC.

See:
          Description

Class Summary
AbstractMap This class provides a skeletal implementation of the Map interface, to minimize the effort required to implement this interface.
Base64 Provides encoding of raw bytes to base64-encoded characters, and decoding of base64 characters to raw bytes.
Classes  
Enum  
Exceptions Various often used Exception functions
ExtArrays Various often used array functions
ExtBoolean Various often used boolean methods
LineNumberWriter A writer which counts the numbers of lines that it writes.
LinkedMap Use only put(Object,Object) and get(Object).
Log The Log class provides a means to send some informational, debugging or error messages like System.out.println but traces can be enabled or disabled at runtime.
MimeTypes Maps mime types to their extensions
NotInCollectionPredicate  
ObjectArray This utility class wraps an array of objects and defines an hashCode() and an equals()
OrderedRepository This class defines a repository that provides order on the registered objects.
Pipe A Pipe is a thread which reads some data from a Reader and writes it to a Writer line by line until EOF is reached in the Reader.
Pipes  
Predicate A Predicate class.
PushbackReader A PushbackReader which keeps track of the position in the stream
Repository This class can be subclassed to create specific repositories.
Semaphore This is a simple implementation of the well-known semaphore synchronization feature.
SharedMap Implements a map whose data may be shared between several instances.
Stack  
Streams This class contains some utility functions for streams.
Strings Various often used string functions
Thumbnail This class creates thumbnails from bigger images.
URLClassLoader An URLClassLoader which lets you add an URL after it is created.
URLInputStream Here is an object for InputStream creation It lets you access the URL that corresponds to the created InputStream
WeakHashMap A hashtable-based Map implementation with weak walues.
WeakList  
WeakRepository This class can be subclassed to create specific repositories.
WrapLib This class generates the jac.lib delegators source-files from the jac.prop file found in the current directory (exclude all other options).
 

Exception Summary
InvalidIndexException  
VoidException This exception is not a meaningfull exception.
WrappedThrowableException This runtime exeption wraps a regular exception so that JAC objects can also send non-runtime exceptions.
 

Package org.objectweb.jac.util Description

Provides some useful classes for JAC.

For the moment, this package only contains specific repositories that are widely used by the JAC system and aspects (see org.objectweb.jac.core.ACManager, org.objectweb.jac.aspects.naming.NameRepository, org.objectweb.jac.aspects.rtti.ClassRepository).

Related Documentation

For overviews, sources, tutorials, examples, guides, and tool documentation, please see:


Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli