public class InputStreamPartSource extends Object implements org.apache.commons.httpclient.methods.multipart.PartSource
Constructor and Description |
---|
InputStreamPartSource(String fileName,
InputStream input) |
Modifier and Type | Method and Description |
---|---|
InputStream |
createInputStream() |
String |
getFileName() |
long |
getLength() |
public InputStreamPartSource(String fileName, InputStream input)
public long getLength()
getLength
in interface org.apache.commons.httpclient.methods.multipart.PartSource
public String getFileName()
getFileName
in interface org.apache.commons.httpclient.methods.multipart.PartSource
public InputStream createInputStream() throws IOException
createInputStream
in interface org.apache.commons.httpclient.methods.multipart.PartSource
IOException
Copyright © 2006–2018 TinyGroup. All rights reserved.