org.apache.commons.httpclient.methods.multipart
public interface PartSource
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.
|
Returns: a new InputStream
Throws: IOException if an error occurs when creating the InputStream
Returns: the fileName used for posting a MultiPart file part
Returns: a value >= 0