com.compomics.software.autoupdater
Class GUIFileDAO
java.lang.Object
com.compomics.software.autoupdater.FileDAO
com.compomics.software.autoupdater.GUIFileDAO
public class GUIFileDAO
- extends FileDAO
- Author:
- Davy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GUIFileDAO
public GUIFileDAO()
createDesktopShortcut
public boolean createDesktopShortcut(MavenJarFile file,
String iconName,
boolean deleteOldShortcut)
throws IOException
- creates a new Desktop Shortcut to the maven jar file
- Specified by:
createDesktopShortcut
in class FileDAO
- Parameters:
file
- the maven jarfile to make a shortcut toiconName
- the name of the icon file in the resources folderdeleteOldShortcut
- if previous shortcuts containing the maven jar
file artifact id should be removed
- Throws:
IOException
getLocationToDownloadOnDisk
public File getLocationToDownloadOnDisk(String targetDownloadFolder)
throws IOException
-
- Specified by:
getLocationToDownloadOnDisk
in class FileDAO
- Returns:
-
- Throws:
IOException
Copyright © 2013. All Rights Reserved.