cz.vity.freerapid.gui.managers
Class FileListMaintainer

java.lang.Object
  extended by cz.vity.freerapid.gui.managers.FileListMaintainer

 class FileListMaintainer
extends Object

Author:
Ladislav Vitasek

Constructor Summary
FileListMaintainer(org.jdesktop.application.ApplicationContext context, ManagerDirector director, DataManager dataManager)
           
 
Method Summary
(package private)  List<DownloadFile> loadListFromFile(File srcFile, boolean downloadOnStart, boolean removeCompleted, boolean recheckOnStart)
           
(package private)  void loadListToBean(Collection<DownloadFile> downloadFiles)
           
(package private)  void saveListToFileOnBackground(Collection<DownloadFile> downloadFiles)
           
(package private)  void saveToFile(com.jgoodies.binding.list.ArrayListModel<DownloadFile> downloadFiles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileListMaintainer

public FileListMaintainer(org.jdesktop.application.ApplicationContext context,
                          ManagerDirector director,
                          DataManager dataManager)
Method Detail

loadListToBean

void loadListToBean(Collection<DownloadFile> downloadFiles)

loadListFromFile

List<DownloadFile> loadListFromFile(File srcFile,
                                    boolean downloadOnStart,
                                    boolean removeCompleted,
                                    boolean recheckOnStart)
                              throws IOException
Throws:
IOException

saveToFile

void saveToFile(com.jgoodies.binding.list.ArrayListModel<DownloadFile> downloadFiles)

saveListToFileOnBackground

void saveListToFileOnBackground(Collection<DownloadFile> downloadFiles)