org.apache.commons.httpclient.methods.multipart
public class ByteArrayPartSource extends Object implements PartSource
Since: 2.0
Constructor Summary | |
---|---|
ByteArrayPartSource(String fileName, byte[] bytes)
Constructor for ByteArrayPartSource.
|
Method Summary | |
---|---|
InputStream | createInputStream() |
String | getFileName() |
long | getLength() |
Parameters: fileName the name of the file these bytes represent bytes the content of this part
See Also: createInputStream
See Also: getFileName
See Also: getLength