|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.util.BookmarksUtil
public abstract class BookmarksUtil
Utility methods for getting entries in the bookmark object.
Constructor Summary | |
---|---|
BookmarksUtil()
|
Method Summary | |
---|---|
static boolean |
deleteBookmark(cytoscape.bookmarks.Bookmarks pBookmarks,
String pCategoryName,
cytoscape.bookmarks.DataSource pDataSource)
DOCUMENT ME! |
static boolean |
deleteBookmark(String filename,
cytoscape.bookmarks.Bookmarks pBookmarks,
String pCategoryName,
cytoscape.bookmarks.DataSource pDataSource)
DOCUMENT ME! |
static String |
getAttribute(cytoscape.bookmarks.DataSource source,
String attrName)
DOCUMENT ME! |
static cytoscape.bookmarks.Bookmarks |
getBookmarks(File pBookmarkFile)
DOCUMENT ME! |
static cytoscape.bookmarks.Bookmarks |
getBookmarks(URL bookmarkUrl)
DOCUMENT ME! |
static cytoscape.bookmarks.Category |
getCategory(String categoryName,
List<cytoscape.bookmarks.Category> categoryList)
Select specific category from a list of categories. |
static List<cytoscape.bookmarks.DataSource> |
getDataSourceList(String categoryName,
List<cytoscape.bookmarks.Category> categoryList)
Traverse bookmark tree and get a list of data sources from the specified category. |
static boolean |
isInBookmarks(cytoscape.bookmarks.Bookmarks pBookmarks,
String pCategoryName,
cytoscape.bookmarks.DataSource pDataSource)
DOCUMENT ME! |
static boolean |
isInBookmarks(URL pBookmarkURL,
String pCategoryName,
cytoscape.bookmarks.DataSource pDataSource)
DOCUMENT ME! |
static boolean |
saveBookmark(cytoscape.bookmarks.Bookmarks pBookmarks,
File pFile)
Write the bookmarks object into a file |
static boolean |
saveBookmark(cytoscape.bookmarks.Bookmarks pBookmarks,
OutputStream os)
Write the bookmarks object into an outputstream |
static void |
saveBookmark(cytoscape.bookmarks.Bookmarks pBookmarks,
String pCategoryName,
cytoscape.bookmarks.DataSource pDataSource)
DOCUMENT ME! |
static void |
saveBookmark(cytoscape.bookmarks.Bookmarks pBookmarks,
String pCategoryName,
cytoscape.bookmarks.DataSource pDataSource,
FileOutputStream pFos)
DOCUMENT ME! |
static boolean |
saveBookmark(URL pBookmarkURL,
String pCategoryName,
cytoscape.bookmarks.DataSource pDataSource)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookmarksUtil()
Method Detail |
---|
public static List<cytoscape.bookmarks.DataSource> getDataSourceList(String categoryName, List<cytoscape.bookmarks.Category> categoryList)
categoryName
-
public static cytoscape.bookmarks.Category getCategory(String categoryName, List<cytoscape.bookmarks.Category> categoryList)
categoryName
- categoryList
-
public static String getAttribute(cytoscape.bookmarks.DataSource source, String attrName)
source
- DOCUMENT ME!attrName
- DOCUMENT ME!
public static cytoscape.bookmarks.Bookmarks getBookmarks(URL bookmarkUrl) throws javax.xml.bind.JAXBException, IOException
bookmarkUrl
- DOCUMENT ME!
javax.xml.bind.JAXBException
- DOCUMENT ME!
IOException
- DOCUMENT ME!public static cytoscape.bookmarks.Bookmarks getBookmarks(File pBookmarkFile)
pBookmarkFile
- DOCUMENT ME!
public static void saveBookmark(cytoscape.bookmarks.Bookmarks pBookmarks, String pCategoryName, cytoscape.bookmarks.DataSource pDataSource, FileOutputStream pFos) throws javax.xml.bind.JAXBException, IOException
pBookmarks
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!pFos
- DOCUMENT ME!
javax.xml.bind.JAXBException
- DOCUMENT ME!
IOException
- DOCUMENT ME!public static boolean saveBookmark(URL pBookmarkURL, String pCategoryName, cytoscape.bookmarks.DataSource pDataSource)
pBookmarkURL
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!
public static boolean saveBookmark(cytoscape.bookmarks.Bookmarks pBookmarks, File pFile)
pBookmarks
- DOCUMENT ME!pFile
- DOCUMENT ME!
public static boolean saveBookmark(cytoscape.bookmarks.Bookmarks pBookmarks, OutputStream os)
pBookmarks
- DOCUMENT ME!os
- DOCUMENT ME!
public static void saveBookmark(cytoscape.bookmarks.Bookmarks pBookmarks, String pCategoryName, cytoscape.bookmarks.DataSource pDataSource)
pBookmarks
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!public static boolean deleteBookmark(String filename, cytoscape.bookmarks.Bookmarks pBookmarks, String pCategoryName, cytoscape.bookmarks.DataSource pDataSource)
filename
- DOCUMENT ME!pBookmarks
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!
public static boolean deleteBookmark(cytoscape.bookmarks.Bookmarks pBookmarks, String pCategoryName, cytoscape.bookmarks.DataSource pDataSource)
pBookmarks
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!
public static boolean isInBookmarks(cytoscape.bookmarks.Bookmarks pBookmarks, String pCategoryName, cytoscape.bookmarks.DataSource pDataSource)
pBookmarks
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!
public static boolean isInBookmarks(URL pBookmarkURL, String pCategoryName, cytoscape.bookmarks.DataSource pDataSource)
pBookmarkURL
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |