|
Cytoscape 2.8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcytoscape.util.RecentlyOpenedTracker
public class RecentlyOpenedTracker
A class to keep track of a short list of recently opened URLs.
| Constructor Summary | |
|---|---|
RecentlyOpenedTracker(String trackerFileName)
Creates a "recently opened" file tracker. |
|
| Method Summary | |
|---|---|
void |
add(URL newURL)
Adds "newURL" to the list of recently opened file names and trims the list if it has exceeded its maximum length. |
URL |
getMostRecentAddition()
|
List<URL> |
getRecentlyOpenedURLs()
|
void |
writeOut()
Writes the list of recently opened files to the file specified by the constructor argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecentlyOpenedTracker(String trackerFileName)
throws IOException
trackerFileName - the name of the file in the Cytoscape config directory to read
saved file names from.
IOException| Method Detail |
|---|
public List<URL> getRecentlyOpenedURLs()
public void add(URL newURL)
public void writeOut()
throws FileNotFoundException
FileNotFoundExceptionpublic URL getMostRecentAddition()
|
Cytoscape 2.8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||