public class RecentFiles extends Object
| Constructor and Description |
|---|
RecentFiles() |
RecentFiles(File recentFilesLocation) |
RecentFiles(int max) |
RecentFiles(int maxFiles,
File recentFilesLocation) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxRecentFiles() |
Collection<File> |
readRecentFiles() |
void |
storeAdditionFile(File file) |
void |
storeRecentFiles(Collection<File> collection) |
public RecentFiles()
public RecentFiles(int max)
public RecentFiles(File recentFilesLocation)
public RecentFiles(int maxFiles,
File recentFilesLocation)
public void storeAdditionFile(File file) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic int getMaxRecentFiles()
public final Collection<File> readRecentFiles() throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic final void storeRecentFiles(Collection<File> collection) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionCopyright © 2015. All rights reserved.