The Utils project contains the utility classes that are used by other SimplyJava projects and contains general useful classes which can be used in any project and are not part of any specific framework kind of thing. The project used Java 5 generics and can be compiled only using Java 5 or above. The Utils project mainly contains following packages:
This package contains general utility classes such as BeanUtils, DateUtils, IOUtils, ImageUtils, ZipUtils, StringUtils, ObjectUtils etc. Most of the classes have all methods static and have a private constructor and can not be instantiated. Classes such as MultiOutputStream, MultiOutputWriter, NameBasedFileFilter provide generic functioanlity useful in a variety of applications. For more information, please check out the package documentation.
This package contains ObservableList and TwoKeyMap implementations. An ObservableList is a List on which listeners can be added to be notified of addition/removal of elements to/from the list. The TwoKeyMap is a map like data structure where two keys can be spcified in order to store a single value. There are default implementations of ObservableList and TwoKeyMap interfaces. |