org.sourcejammer.project.view
Interface Downloader


public interface Downloader


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

Method Detail

downloadBytes

public org.sourcejammer.util.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.
FileSendException

setFileIdentifier

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


Copyright 2003 Soucejammer project.