Package ipsk.io
Class URLDownloader
- java.lang.Object
- 
- ipsk.io.URLDownloader
 
- 
- All Implemented Interfaces:
- java.lang.Runnable
 
 public class URLDownloader extends java.lang.Object implements java.lang.Runnable
- 
- 
Constructor SummaryConstructors Constructor Description URLDownloader(java.net.URL url, java.io.OutputStream outstream)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddURLDownloaderListener(URLDownloaderListener l)intgetContentLength()intgetCurrentDownloadLength()voidremoveURLDownloaderListener(URLDownloaderListener l)voidrun()voidstart()protected voidupdateListeners(URLDownloaderEvent e)
 
- 
- 
- 
Method Detail- 
startpublic void start() throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
runpublic void run() - Specified by:
- runin interface- java.lang.Runnable
 
 - 
getCurrentDownloadLengthpublic int getCurrentDownloadLength() 
 - 
addURLDownloaderListenerpublic void addURLDownloaderListener(URLDownloaderListener l) 
 - 
removeURLDownloaderListenerpublic void removeURLDownloaderListener(URLDownloaderListener l) 
 - 
updateListenersprotected void updateListeners(URLDownloaderEvent e) 
 - 
getContentLengthpublic int getContentLength() 
 
- 
 
-