public class FileUpload extends Object implements org.apache.commons.httpclient.methods.multipart.PartSource
| Constructor and Description |
|---|
FileUpload(String name,
String contentType,
InputStream stream,
long size) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
createInputStream() |
String |
getContentType() |
String |
getFileName() |
long |
getLength() |
public FileUpload(String name, String contentType, InputStream stream, long size)
public long getLength()
getLength in interface org.apache.commons.httpclient.methods.multipart.PartSourcepublic String getFileName()
getFileName in interface org.apache.commons.httpclient.methods.multipart.PartSourcepublic InputStream createInputStream() throws IOException
createInputStream in interface org.apache.commons.httpclient.methods.multipart.PartSourceIOExceptionpublic String getContentType()
Copyright © 2018 Empyr, Inc.. All rights reserved.