/** * Import the names from XML. * @param inp the XML source. The reader is not closed * @throws IOException on error * @return the names */ public static Hashtable ImportFromXML(TextReader inp) { SimpleNamedDestination names = new SimpleNamedDestination(); SimpleXMLParser.Parse(names, inp); return(names.xmlNames); }
/** * Import the names from XML. * @param inp the XML source. The reader is not closed * @throws IOException on error * @return the names */ public static Hashtable ImportFromXML(TextReader inp) { SimpleNamedDestination names = new SimpleNamedDestination(); SimpleXMLParser.Parse(names, inp); return names.xmlNames; }