/** * Import the bookmarks from XML. * @param in the XML source. The reader is not closed * @throws IOException on error * @return the bookmarks */ public static ArrayList ImportFromXML(TextReader inp) { SimpleBookmark book = new SimpleBookmark(); SimpleXMLParser.Parse(book, inp); return(book.topList); }
/** * Import the bookmarks from XML. * @param in the XML source. The reader is not closed * @throws IOException on error * @return the bookmarks */ public static ArrayList ImportFromXML(TextReader inp) { SimpleBookmark book = new SimpleBookmark(); SimpleXMLParser.Parse(book, inp); return book.topList; }