org.sourcejammer.client
Class DownloaderProxy
java.lang.Object
|
+--org.sourcejammer.client.DownloaderProxy
- public class DownloaderProxy
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloaderProxy
public DownloaderProxy()
DownloaderProxy
public DownloaderProxy(java.lang.String url)
throws java.net.MalformedURLException
DownloaderProxy
public DownloaderProxy(java.net.URL url)
setFileIdentifier
public void setFileIdentifier(DownloadFileIdentifier id)
throws SourceJammerConnectionException
setURL
public void setURL(java.lang.String url)
throws java.net.MalformedURLException
setURL
public void setURL(java.net.URL url)
getURL
public java.net.URL getURL()
endOfFile
public boolean endOfFile()
downloadBytes
public byte[] downloadBytes(int maxSize)
throws SourceJammerConnectionException
- Streams bytes into the FileUploader.