Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.data.readers
Class BookmarkReader

java.lang.Object
  extended by cytoscape.data.readers.BookmarkReader

public class BookmarkReader
extends Object


Constructor Summary
BookmarkReader()
          Creates a new BookmarkReader object.
 
Method Summary
 cytoscape.bookmarks.Bookmarks getBookmarks()
          Get loaded bookmark.
 void readBookmarks()
          Read bookmark from resource.
 void readBookmarks(URL bookmarkUrl)
          Read bookmarks from the specified location.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarkReader

public BookmarkReader()
Creates a new BookmarkReader object.

Method Detail

readBookmarks

public void readBookmarks()
                   throws javax.xml.bind.JAXBException,
                          IOException
Read bookmark from resource.

Throws:
javax.xml.bind.JAXBException
IOException

readBookmarks

public void readBookmarks(URL bookmarkUrl)
                   throws javax.xml.bind.JAXBException,
                          IOException
Read bookmarks from the specified location.

Parameters:
bookmarkUrl - location of bookmarks.xml as URL
Throws:
javax.xml.bind.JAXBException
IOException

getBookmarks

public cytoscape.bookmarks.Bookmarks getBookmarks()
Get loaded bookmark.

Returns:

www.cytoscape.org