Constructor and Description |
---|
ApplicationPart(FileItem fileItem,
MultipartConfigElement mce) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
String |
getContentType() |
String |
getFilename() |
String |
getHeader(String name)
Obtains the value of the specified mime header for the part.
|
Collection<String> |
getHeaderNames() |
Collection<String> |
getHeaders(String name) |
InputStream |
getInputStream() |
String |
getName() |
long |
getSize() |
String |
getString(String encoding) |
void |
write(String fileName) |
public ApplicationPart(FileItem fileItem, MultipartConfigElement mce)
public void delete() throws IOException
delete
in interface Part
IOException
public String getContentType()
getContentType
in interface Part
public String getHeader(String name)
javax.servlet.http.Part
public Collection<String> getHeaderNames()
getHeaderNames
in interface Part
public Collection<String> getHeaders(String name)
getHeaders
in interface Part
public InputStream getInputStream() throws IOException
getInputStream
in interface Part
IOException
public void write(String fileName) throws IOException
write
in interface Part
IOException
public String getString(String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public String getFilename()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.