|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DownloadProvider
An interface for download-providing objects. This interface specifies methods for obtaining the content type, filename, size, and data of a downloadable file.
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Returns the content type of the file. |
java.lang.String |
getFileName()
Returns the file's name. |
int |
getSize()
Returns the size of the file. |
void |
writeFile(java.io.OutputStream out)
Writes the file to the specified output stream. |
| Method Detail |
|---|
java.lang.String getContentType()
java.lang.String getFileName()
int getSize()
void writeFile(java.io.OutputStream out)
throws java.io.IOException
out - The output stream to which the file should be written.
java.io.IOException - If the provider is unable to perform this operation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||