|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hipipal.texteditor.common.RecentFiles
public class RecentFiles
Storage for a recent files list TODO code review
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
RecentFiles()
|
|
| Method Summary | |
|---|---|
static java.util.ArrayList<java.lang.String> |
getRecentFiles()
|
static void |
loadRecentFiles(java.lang.String saved)
loads the recent files from shared preferences |
static void |
removePath(java.lang.String path)
Removes a path from the recent files list |
static void |
saveRecentList(android.content.SharedPreferences prefs)
Saves the preferences when they have been edited |
static void |
updateRecentList(java.lang.String path)
Updates the recent list with a path. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecentFiles()
| Method Detail |
|---|
public static void loadRecentFiles(java.lang.String saved)
saved - the previously saved stringpublic static void saveRecentList(android.content.SharedPreferences prefs)
prefs - the preferences to save topublic static java.util.ArrayList<java.lang.String> getRecentFiles()
public static void updateRecentList(java.lang.String path)
path - the path to insertpublic static void removePath(java.lang.String path)
path - the path to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||