public class DownloadDBTask
extends org.cytoscape.work.AbstractTask
Constructor and Description |
---|
DownloadDBTask(String url,
String dest,
String path) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
static boolean |
deleteDirectory(File path) |
static void |
deleteFile(String fileName) |
static boolean |
getFile(String source,
String destination,
org.cytoscape.work.TaskMonitor tmon) |
static long |
getRemoteFileSize(String urlParam) |
String |
getTitle() |
void |
halt() |
static boolean |
isInterrupted() |
void |
run(org.cytoscape.work.TaskMonitor taskMonitor) |
static boolean |
unpackFile(String source,
String destination) |
static boolean |
untarFile(String tarFile,
String untarDir) |
public static boolean isInterrupted()
public static boolean getFile(String source, String destination, org.cytoscape.work.TaskMonitor tmon)
public static boolean untarFile(String tarFile, String untarDir) throws IOException
IOException
public static void deleteFile(String fileName)
public static long getRemoteFileSize(String urlParam)
public String getTitle()
public void halt()
public void cancel()
cancel
in interface org.cytoscape.work.Task
cancel
in class org.cytoscape.work.AbstractTask
public void run(org.cytoscape.work.TaskMonitor taskMonitor)
run
in interface org.cytoscape.work.Task
run
in class org.cytoscape.work.AbstractTask
public static boolean deleteDirectory(File path)
Copyright © 2017. All rights reserved.