Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package edu.emory.mathcs.util

Utility classes developed and/or maintained by the Distributed Computing Laboratory, Emory University.

See:
Description

Interface Summary
PropertyUtils.Macro | Macro template that expands the specified parameter in the macro-specific way.

Class Summary
ArgvUtils | To be reengineered.
ArgvUtils.OptionEntry | To be reengineered.
ArgvUtils.OptionIterator | To be reengineered.
PropertyUtils | Property and string manipulation and macro expansion utilities.
PropertyUtils.PropertyExpansionMacro | Property expansion template that resolves property names into values using specified properties.

Exception Summary
ExpansionException | Exception thrown from a macro expansion routine.

## Package edu.emory.mathcs.util Description

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 `PropertyUtils` class.
- `edu.emory.mathcs.util.VolatileHashMap` is a companion to the `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.
- `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: `edu.emory.mathcs.util.net`
- stream-based I/O: `edu.emory.mathcs.util.io`
- class and resource loading and handling JAR files: `edu.emory.mathcs.util.classloader`
- concurrent processing: `edu.emory.mathcs.util.concurrent`
- distributed processing: `edu.emory.mathcs.util.remote`
- memory allocation: `edu.emory.mathcs.util.allocator`
- security: `edu.emory.mathcs.util.security`
- XML parsing: `edu.emory.mathcs.util.xml`
- Swing GUI: `edu.emory.mathcs.util.swing`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES