public abstract class BaseUploadedFile extends Object implements UploadedFile
Constructor and Description |
---|
BaseUploadedFile(String parameterName) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
byte[] |
getData() |
String |
getFileExtension()
Returns the files extension - the substring after last period of this file's name.
|
String |
getName() |
String |
getParameterName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, getHeader, getHeaderNames, getHeaders, getInputStream, getSize, write
public BaseUploadedFile(String parameterName)
public String getParameterName()
getParameterName
in interface UploadedFile
public String getName()
getName
in interface UploadedFile
public String getContentType()
getContentType
in interface UploadedFile
public byte[] getData()
getData
in interface UploadedFile
public String getFileExtension()
UploadedFile
getFileExtension
in interface UploadedFile
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.