Utility classes developed and/or maintained by the
Distributed Computing Laboratory,
Emory University. This package highlights are:
-
Macro expansion utilities, particularly useful in handling configuration
files and policies. They take a string and resolve macro occurrences within
that string against specified macro templates. Macro templates are
fully customizable; the set of default ones include a template that
resolves system property names into their values. Thus, "${user.dir}" will
be replaced by the value of the system property "user.dir", and "${/}" will
be replaced by File.separator. As another example, "$trim{text}" uses
a macro template named "trim" to operate on text; the macro simply
trims the specified string. The utilities can be found in the
{@link edu.emory.mathcs.util.PropertyUtils} class.
-
{@link edu.emory.mathcs.util.VolatileHashMap} is a companion to the
{@link java.util.WeakHashMap}
that keeps the values (rather than keys) as weak references. Thus,
when a value is no longer in ordinary use, it is subject to garbage
collection and all entries referring to that value are removed from the map.
-
{@link edu.emory.mathcs.util.IntMap Integer maps} map ints to objects.
The interface allows to avoid memory allocation
for keys and is thus more efficient than standard maps with Integer keys.
The subpackages include utility classes related to:
- networking: {@link edu.emory.mathcs.util.net}
- stream-based I/O: {@link edu.emory.mathcs.util.io}
- class and resource loading and handling JAR files:
{@link edu.emory.mathcs.util.classloader}
- concurrent processing: {@link edu.emory.mathcs.util.concurrent}
- distributed processing: {@link edu.emory.mathcs.util.remote}
- memory allocation: {@link edu.emory.mathcs.util.allocator}
- security: {@link edu.emory.mathcs.util.security}
- XML parsing: {@link edu.emory.mathcs.util.xml}
- Swing GUI: {@link edu.emory.mathcs.util.swing}