org.sourcejammer.client
Class DownloaderProxy

java.lang.Object
  |
  +--org.sourcejammer.client.DownloaderProxy

public class DownloaderProxy
extends java.lang.Object

Title: $FileName: DownloaderProxy.java$

Version:
$$VerNum: 2$ $description: $ $KeyWordsOff: $

Author:
$AuthorName: Rob MacGrogan$

Nested Class Summary
private static class DownloaderProxy.Methods
           
 
Field Summary
private  org.apache.soap.rpc.Call call
           
private  boolean endOfFile
           
private static org.apache.soap.encoding.SOAPMappingRegistry mapping
           
private static java.lang.String TARGET_URI
           
private  java.net.URL url
           
 
Constructor Summary
DownloaderProxy()
           
DownloaderProxy(java.lang.String url)
           
DownloaderProxy(java.net.URL url)
           
 
Method Summary
 void downloadBytes(int maxSize, java.io.OutputStream stmOut)
          Streams bytes into the FileUploader.
 void downloadFile(org.sourcejammer.project.view.DownloadFileIdentifier id, java.io.OutputStream stmOut)
           
 boolean endOfFile()
           
 java.net.URL getURL()
           
private  void initCall()
           
 void setFileIdentifier(org.sourcejammer.project.view.DownloadFileIdentifier id)
           
 void setURL(java.lang.String url)
           
 void setURL(java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapping

private static org.apache.soap.encoding.SOAPMappingRegistry mapping

TARGET_URI

private static final java.lang.String TARGET_URI
See Also:
Constant Field Values

call

private org.apache.soap.rpc.Call call

url

private java.net.URL url

endOfFile

private boolean endOfFile
Constructor Detail

DownloaderProxy

public DownloaderProxy()

DownloaderProxy

public DownloaderProxy(java.lang.String url)
                throws java.net.MalformedURLException

DownloaderProxy

public DownloaderProxy(java.net.URL url)
Method Detail

initCall

private void initCall()

setFileIdentifier

public void setFileIdentifier(org.sourcejammer.project.view.DownloadFileIdentifier id)
                       throws org.sourcejammer.util.SourceJammerConnectionException
org.sourcejammer.util.SourceJammerConnectionException

setURL

public void setURL(java.lang.String url)
            throws java.net.MalformedURLException
java.net.MalformedURLException

setURL

public void setURL(java.net.URL url)

getURL

public java.net.URL getURL()

endOfFile

public boolean endOfFile()

downloadFile

public void downloadFile(org.sourcejammer.project.view.DownloadFileIdentifier id,
                         java.io.OutputStream stmOut)
                  throws org.sourcejammer.util.SourceJammerConnectionException,
                         java.io.IOException
org.sourcejammer.util.SourceJammerConnectionException
java.io.IOException

downloadBytes

public void downloadBytes(int maxSize,
                          java.io.OutputStream stmOut)
                   throws org.sourcejammer.util.SourceJammerConnectionException
Streams bytes into the FileUploader.

org.sourcejammer.util.SourceJammerConnectionException


Copyright 2003 Soucejammer project.