|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.FileTransferFileGenerator
public class FileTransferFileGenerator
An implementation of FileGenerator that uses a FileTransfer.
| Constructor Summary | |
|---|---|
FileTransferFileGenerator(FileTransfer fileTransfer)
|
|
| Method Summary | |
|---|---|
void |
generateFile(java.io.OutputStream out)
Write the file to the give OutputStream. |
java.lang.String |
getFilename()
Accessor for the filename of this download |
java.lang.String |
getMimeType()
What is the MimeType for the given file |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileTransferFileGenerator(FileTransfer fileTransfer)
fileTransfer - The FileTransfer user object that we base ourselves on| Method Detail |
|---|
public void generateFile(java.io.OutputStream out)
throws java.io.IOException
FileGeneratorOutputStream.
The system will take care of opening and closing the stream
generateFile in interface FileGeneratorout - The stream to write to.
java.io.IOException - If there are creation problemspublic java.lang.String getMimeType()
FileGenerator
getMimeType in interface FileGeneratorpublic java.lang.String getFilename()
FileGenerator
getFilename in interface FileGenerator
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||