Package nl.knowledgeplaza.util

Interface Summary
ConfigurationProperties.ConfigurationChangedListener  
DirectoryMonitor.AddListener listen to new files // client side myDirectoryMonitor.addListeners.add(new DirectoryMonitor.AddListener(){ @Override public void add(File file) { }});
DirectoryMonitor.ChangeListener listen to any change // client side myDirectoryMonitor.changeListeners.add(new DirectoryMonitor.ChangeListener(){ @Override public void changed(File file) { }});
DirectoryMonitor.DeleteListener listen to removed files // client side myDirectoryMonitor.deleteListeners.add(new DirectoryMonitor.DeleteListener(){ @Override public void deleted(File file) { }});
EnvironmentVariables.Generator A class implementing this interface is able to retrieve environment information in some way.
EnvironmentVariables.NameTransformer Classes implementing this interface can transform environment names in a "canonical" form
GenericVisitor.Visitor  
ListenerHandler.Listen This is the generic interface that can be used
PropertyChangeProvider The counter part of the PropertyChangeListener interface.
 

Class Summary
AbstractBean<T> a class that implements standard features of a JavaBean.
AbstractComparator This class does the basic comparing for you: - is either class NULL - are the classes identical Usage: public int compare(Object o1, Object o2) { int lComparator = super.compare(o1, o2); if (lComparator != UNDETERMINED) return lComparator; ...
AbstractMapEntry<K,V> An AbstractMapEntry takes care of most of the grunge work involved in subclassing java.util.Map.Entry.
ApacheCommonCodecUtil  
ArrayUtil This class contains several Array helper methods.
Base64 This class contains Base64 encode and decode logic.
CalendarUtil Quick format and quick parse (ISO) for Calendars
CalendarWrapper Wrap a calendar and make it easier accessible
ClassUtil  
CollectionUtil The CollectionUtil provides methods for wrapping normal Collection objects with ObservableCollection objects, which allows a listener to register for changes to the Collection object.
ColorUtil Some Color Utils methods a.o.
ComparatorNotNulls A comparator that handles nulls before actually comparing.
ConfigurationProperties This class is a wrapper for context dependent property collections.
ConfigurationProperties.ConfigurationChangedEvent  
DirectoryMonitor  
Dom4jUtil  
EnumerationToIteratorAdapter<T> Utility method for converting Enumeration to an Iterator class.
EnvironmentVariables An helper class to handle environment variables when they're present on the underlying operating system.
ExceptionUtil  
Exec Implements an exec() interface.
FileUtil This class provides basic facilities for manipulating files and file paths.
GenericsUtil Constructors for easy generics: Map> m = newHashMap(); instead of: Map> m = new HashMap>(); This is also available Google Collections in http://code.google.com/p/google-collections/ Which will be moved to Guava sometime http://code.google.com/p/guava-libraries/
GenericVisitor Usage: GenericVisitor visitor = new GenericVisitor(); visitor.addVisitor(A.class, new AVisitor()); visitor.addVisitor(B.class, new BVisitor()); visitor.addVisitor(C.class, new CVisitor()); visitor.addVisitor(D.class, new DVisitor()); visitor.addVisitor(E.class, new EVisitor()); visitor.visit(new C()); Or write a "MyVisitor" with methods "visit(A objecT)" extending GenericVisitor.
GregorianCalendar  
HashCodeUtil Copied from http://www.javapractices.com/topic/TopicAction.do?Id=28
ImageUtils  
Internationalization Translate a id to a locale specific value by searching multiple locations in this order: - Classname.internationalization.xml - internationalization.xml in the package of the class - internationalization.xml anywhere on the classpath (TODO: all internationalization.xml files anywhere in the classpath, random order) - resource bundle of the class (old style resources) Each translation consists of thee parameters: - context, the object where in the translation takes place - id, the id of the translation - locale, for which is translated The context is used to determine which internationalization.xml files should be examined for the indicated id / locale.
IOUtil General IO Stream manipulation.
IteratorToEnumerationAdapter<T> Utility method for converting an Iterator to an Enumeration class.
JarResources Access all resources included in a Zip or Jar file.
JdbcUtil Several convenience methods for JDBC related tasks.
JdbcUtil.JdbcList  
JdbcUtil.JdbcMap  
JdbcUtil.Preprocess An interface for Preprocessing during the run
JdbcUtil.SyncDescriptor Class that provides all data needed for the synchronizeTableFullOneWay methods.
JVM Deals with the different version of the Java Virtual Machine.
KeyValueMapEntry<K,V> Default implementation for AbstractMapEntry
LinearMap<K,V> LinearMap is a simplistic light-weight Map designed for use when the number of entries is small.
LinearSet<T> LinearSet is a simplistic light-weight Set designed for use when the number of entries is small.
ListenerHandler<L,E> This is a generic implementation of a listener logic.
Log4jUtil Several convenience methods for JDBC related tasks.
MsDosUtil For a.o.
ObjectUtil  
ProgressListener A class to provide progress feedback.
Properties  
RandomGUID  
ResourceLoader Find resources on various locations.
SimpleLRUCache<K,V>  
Slf4jUtil Several convenience methods for JDBC related tasks.
SoftArrayList<T> An arraylist storing its contents using SoftReferences.
SortedOnKeyMap SortedMap is a simplistic light-weight Map designed for use when the number of entries is small.
SortedSet SortedSet is a simplistic light-weight Set designed for use when the number of entries is small.
StringPrintStream This class catches anything going into the printstream into a string
StringUtil This class contains several String helper methods.
StrongReference<T>  
SystemAddon Some enhancements to the regular System class.
ThreadUtil This class provides a thread local stop flag, which a thread may query to see if it needs to stop.
TypeRef<T> References a generic type.
TypeToken http://www.jquantlib.org/index.php/Using_TypeTokens_to_retrieve_generic_parameters TypeNode keeps a Class information and a list of children classes.
TypeTokenTree http://www.jquantlib.org/index.php/Using_TypeTokens_to_retrieve_generic_parameters TypeTokenTree is a helper class intended to return a TypeToken root.
ValueHolder<T>  
ValueSortedMap A map that is sorted on value instead of key.
Version  
VersionUtil  
VfsUtils Apache Commons VFS tools
WeakArrayList<T> An arraylist storing its contents using WeakReferences.
XmlResourceBundle A ResourceBundle implementation that uses a XML file to store the resources.
ZipUtil  
 



Copyright © 2010 KnowledgePlaza. All Rights Reserved.