|
Cytoscape 2.8.0 API | |||||||||
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.
Field Summary | |
---|---|
protected static CyLogger |
logger
|
Constructor Summary | |
---|---|
BookmarksUtil()
|
Method Summary | |
---|---|
static boolean |
deleteBookmark(Bookmarks pBookmarks,
String pCategoryName,
DataSource pDataSource)
DOCUMENT ME! |
static boolean |
deleteBookmark(String filename,
Bookmarks pBookmarks,
String pCategoryName,
DataSource pDataSource)
DOCUMENT ME! |
static String |
getAttribute(DataSource source,
String attrName)
DOCUMENT ME! |
static Bookmarks |
getBookmarks(File pBookmarkFile)
DOCUMENT ME! |
static Bookmarks |
getBookmarks(URL bookmarkUrl)
DOCUMENT ME! |
static Category |
getCategory(String categoryName,
List<Category> categoryList)
Select specific category from a list of categories. |
static List<DataSource> |
getDataSourceList(String categoryName,
List<Category> categoryList)
Traverse bookmark tree and get a list of data sources from the specified category. |
static boolean |
isInBookmarks(Bookmarks pBookmarks,
String pCategoryName,
DataSource pDataSource)
DOCUMENT ME! |
static boolean |
isInBookmarks(URL pBookmarkURL,
String pCategoryName,
DataSource pDataSource)
DOCUMENT ME! |
static boolean |
saveBookmark(Bookmarks pBookmarks,
File pFile)
Write the bookmarks object into a file |
static boolean |
saveBookmark(Bookmarks pBookmarks,
OutputStream os)
Write the bookmarks object into an outputstream |
static void |
saveBookmark(Bookmarks pBookmarks,
String pCategoryName,
DataSource pDataSource)
DOCUMENT ME! |
static void |
saveBookmark(Bookmarks pBookmarks,
String pCategoryName,
DataSource pDataSource,
FileOutputStream pFos)
DOCUMENT ME! |
static boolean |
saveBookmark(URL pBookmarkURL,
String pCategoryName,
DataSource pDataSource)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static CyLogger logger
Constructor Detail |
---|
public BookmarksUtil()
Method Detail |
---|
public static List<DataSource> getDataSourceList(String categoryName, List<Category> categoryList)
categoryName
-
public static Category getCategory(String categoryName, List<Category> categoryList)
categoryName
- categoryList
-
public static String getAttribute(DataSource source, String attrName)
source
- DOCUMENT ME!attrName
- DOCUMENT ME!
public static Bookmarks getBookmarks(URL bookmarkUrl) throws JAXBException, IOException
bookmarkUrl
- DOCUMENT ME!
JAXBException
- DOCUMENT ME!
IOException
- DOCUMENT ME!public static Bookmarks getBookmarks(File pBookmarkFile)
pBookmarkFile
- DOCUMENT ME!
public static void saveBookmark(Bookmarks pBookmarks, String pCategoryName, DataSource pDataSource, FileOutputStream pFos) throws JAXBException, IOException
pBookmarks
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!pFos
- DOCUMENT ME!
JAXBException
- DOCUMENT ME!
IOException
- DOCUMENT ME!public static boolean saveBookmark(URL pBookmarkURL, String pCategoryName, DataSource pDataSource)
pBookmarkURL
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!
public static boolean saveBookmark(Bookmarks pBookmarks, File pFile)
pBookmarks
- DOCUMENT ME!pFile
- DOCUMENT ME!
public static boolean saveBookmark(Bookmarks pBookmarks, OutputStream os)
pBookmarks
- DOCUMENT ME!os
- DOCUMENT ME!
public static void saveBookmark(Bookmarks pBookmarks, String pCategoryName, DataSource pDataSource)
pBookmarks
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!public static boolean deleteBookmark(String filename, Bookmarks pBookmarks, String pCategoryName, DataSource pDataSource)
filename
- DOCUMENT ME!pBookmarks
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!
public static boolean deleteBookmark(Bookmarks pBookmarks, String pCategoryName, DataSource pDataSource)
pBookmarks
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!
public static boolean isInBookmarks(Bookmarks pBookmarks, String pCategoryName, DataSource pDataSource)
pBookmarks
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!
public static boolean isInBookmarks(URL pBookmarkURL, String pCategoryName, DataSource pDataSource)
pBookmarkURL
- DOCUMENT ME!pCategoryName
- DOCUMENT ME!pDataSource
- DOCUMENT ME!
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |