public class Vfei2Map
extends Object
public static int parse(String VFEItext, Map<String,String> NameValues) throws Exception
The Map interface is implemented by the java.util.Hashtable class, and instances of this class are usually passed as the second argument.
The return value is the count of new entries that were added to the Map table. Usually, the caller empties the table before calling the method, in which case the count indicates the number of (name, value) pairs parsed from the string.
Backslashes can be used to escape imbedded quotes. Other backslash escape sequences are left in the value strings as they are found. Otherwise, the parsing is the same as the Hume developed Tcl vfei_2_array command. The documentation for the Tcl command should be used as a reference.
VFEItext
- NameValues
- Map used by reference as the destination for parsed itemsException
- for input text that is not proper VFEI.
No Exception is thrown for blank text.