com.mindtree.techworks.insight.download
Class DownloadProvider

java.lang.Object
  extended by java.lang.Thread
      extended by com.mindtree.techworks.insight.download.DownloadProvider
All Implemented Interfaces:
java.lang.Runnable

public class DownloadProvider
extends java.lang.Thread

TODO

Version:
$Revision: 27 $ $Date: 2007-12-16 04:58:03 -0700 (Sun, 16 Dec 2007) $
Author:
Bindul Bhowmik
See Also:
RemoteClientFactory

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DownloadProvider(Insight insight)
          Creates an instance of the DownloadProvier
 
Method Summary
 void loadRemoteFiles(Fileset remoteFileset, java.util.List filesToLoad)
          Loads all the remote files in the list taking host information from the Fileset
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DownloadProvider

public DownloadProvider(Insight insight)
Creates an instance of the DownloadProvier

Parameters:
insight - The insight instance
Method Detail

loadRemoteFiles

public void loadRemoteFiles(Fileset remoteFileset,
                            java.util.List filesToLoad)
Loads all the remote files in the list taking host information from the Fileset

Parameters:
remoteFileset - The fileset to take host information from
filesToLoad - The files to load

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
See Also:
Runnable.run()


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.