示例#1
0
        /**
         * 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);
        }
示例#2
0
 /**
 * 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;
 }