org::openisis::Utils Class Reference

List of all members.

Static Public Member Functions

static Field[] ToFields (Map map, Fdt fdt, boolean ign)
static Map ToMap (Field[] flds, Fdt fdt, Map tgt)

Detailed Description

Various utilities.

Id
Utils.java,v 1.2 2003/04/08 00:20:53 kripke Exp
Version:
Revision
1.2
Author:
Author
kripke

Member Function Documentation

static Field [] org::openisis::Utils::ToFields ( Map  map,
Fdt  fdt,
boolean  ign 
) [inline, static]

Build field array from map. Map keys must be valid field description names (if fdt is given) or objects whose string representation build tag numbers.

Parameters:
ign if false, method will return null on an occurence of a map entry that cannot be transformed in a field
Returns:
field array or null, if ign is false and map contains illegal entries
static Map org::openisis::Utils::ToMap ( Field[]  flds,
Fdt  fdt,
Map  tgt 
) [inline, static]

Fill tgt with field tag-val-entries.
If fdt is given, only fields having a field decription are put in tgt with string keys. If fdt is null, entry keys are set as integers.
If tgt is null, a new HashMap will be allocated.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables

Generated on Tue Mar 30 14:47:17 2010 for IsisReader by  doxygen 1.6.1