SourceJammer 1.3.0 November 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.project.view
Interface Downloader


public interface Downloader


Method Summary
 SendBytes downloadBytes(java.lang.Integer maxBytes)
          Download the specified number of bytes packaged in a SendBytes object.
 void setFileIdentifier(DownloadFileIdentifier id)
           
 

Method Detail

downloadBytes

public SendBytes downloadBytes(java.lang.Integer maxBytes)
                        throws FileSendException
Download the specified number of bytes packaged in a SendBytes object.
Parameters:
maxBytes - -- maximum number of bytes to send.
Returns:
a SendBytes object containing the byte[] and an eof indicator.

setFileIdentifier

public void setFileIdentifier(DownloadFileIdentifier id)
                       throws FileSendException

SourceJammer 1.3.0 November 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan