public void downloadToLocalFile ( final File file ) throws InvocationTargetException , InterruptedException { PlatformUI . getWorkbench ( ) . getProgressService ( ) . busyCursorWhile ( new IRunnableWithProgress ( ) { public void run ( IProgressMonitor monitor ) throws InvocationTargetException { DFSFile . this . downloadToLocalFile ( monitor , file ) ; } } ) ; }
Download this file to the local file system . This creates a download status monitor .