|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PartSource
An interface for providing access to data when posting MultiPart messages.
FilePart| Method Summary | |
|---|---|
InputStream |
createInputStream()
Gets a new InputStream for reading this source. |
String |
getFileName()
Gets the name of the file this source represents. |
long |
getLength()
Gets the number of bytes contained in this source. |
| Method Detail |
|---|
long getLength()
String getFileName()
InputStream createInputStream()
throws IOException
IOException - if an error occurs when creating the InputStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||