Cytoscape 2.8.0 API

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
 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
clone, equals, finalize, 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 JAXBException,
                          IOException
Read bookmark from resource.

Throws:
JAXBException
IOException

readBookmarks

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

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

getBookmarks

public Bookmarks getBookmarks()
Get loaded bookmark.

Returns:

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.