public class UploadedFile30 extends BaseUploadedFile
UploadedFile
that delegates calls to instance of Part
(from Servlet 3.0 API)Constructor and Description |
---|
UploadedFile30(String parameterName,
String filename,
Part part) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
String |
getHeader(String headerName) |
Collection<String> |
getHeaderNames() |
Collection<String> |
getHeaders(String headerName) |
InputStream |
getInputStream() |
String |
getName() |
long |
getSize() |
void |
write(String fileName) |
getContentType, getData, getFileExtension, getParameterName
public InputStream getInputStream() throws IOException
IOException
public String getName()
getName
in interface UploadedFile
getName
in class BaseUploadedFile
public long getSize()
public void delete() throws IOException
IOException
public void write(String fileName) throws IOException
IOException
public Collection<String> getHeaderNames()
public Collection<String> getHeaders(String headerName)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.