|
|||||||||
| Home >> All >> org >> apache >> commons >> httpclient >> methods >> [ multipart overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.commons.httpclient.methods.multipart
Interface PartSource

- All Known Implementing Classes:
- ByteArrayPartSource, FilePartSource
- public interface PartSource
An interface for providing access to data when posting MultiPart messages.
- Since:
- 2.0
| Method Summary | |
java.io.InputStream |
createInputStream()
Gets a new InputStream for reading this source. |
java.lang.String |
getFileName()
Gets the name of the file this source represents. |
long |
getLength()
Gets the number of bytes contained in this source. |
| Method Detail |
getLength
public long getLength()
- Gets the number of bytes contained in this source.
getFileName
public java.lang.String getFileName()
- Gets the name of the file this source represents.
createInputStream
public java.io.InputStream createInputStream() throws java.io.IOException
- Gets a new InputStream for reading this source. This method can be
called more than once and should therefore return a new stream every
time.
|
|||||||||
| Home >> All >> org >> apache >> commons >> httpclient >> methods >> [ multipart overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC