public abstract class UploadedFileFactory extends Object implements javax.faces.FacesWrapper<UploadedFileFactory>
| Constructor and Description |
|---|
UploadedFileFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract UploadedFile |
getUploadedFile(Exception e)
Returns a new instance of
UploadedFile. |
abstract UploadedFile |
getUploadedFile(String absolutePath,
Map<String,Object> attributes,
String charSet,
String contentType,
Map<String,List<String>> headers,
String id,
String message,
String name,
long size,
UploadedFile.Status status)
Returns a new instance of
UploadedFile. |
static UploadedFile |
getUploadedFileInstance(Exception e)
Returns a new instance of
UploadedFile from the UploadedFileFactory found by the FactoryExtensionFinder. |
static UploadedFile |
getUploadedFileInstance(String absolutePath,
Map<String,Object> attributes,
String charSet,
String contentType,
Map<String,List<String>> headers,
String id,
String message,
String name,
long size,
UploadedFile.Status status)
Returns a new instance of
UploadedFile from the UploadedFileFactory found by the FactoryExtensionFinder. |
abstract UploadedFileFactory |
getWrapped()
Returns the wrapped factory instance if this factory decorates another.
|
public static UploadedFile getUploadedFileInstance(Exception e)
UploadedFile from the UploadedFileFactory found by the FactoryExtensionFinder. The returned instance is guaranteed to be Serializable but not
guaranteed to be thread-safe.public static UploadedFile getUploadedFileInstance(String absolutePath, Map<String,Object> attributes, String charSet, String contentType, Map<String,List<String>> headers, String id, String message, String name, long size, UploadedFile.Status status)
UploadedFile from the UploadedFileFactory found by the FactoryExtensionFinder. The returned instance is guaranteed to be Serializable but not
guaranteed to be thread-safe.public abstract UploadedFile getUploadedFile(Exception e)
UploadedFile. The returned instance is guaranteed to be Serializable but not guaranteed to be thread-safe.public abstract UploadedFile getUploadedFile(String absolutePath, Map<String,Object> attributes, String charSet, String contentType, Map<String,List<String>> headers, String id, String message, String name, long size, UploadedFile.Status status)
UploadedFile. The returned instance is guaranteed to be Serializable but not guaranteed to be thread-safe.public abstract UploadedFileFactory getWrapped()
getWrapped in interface javax.faces.FacesWrapper<UploadedFileFactory>Copyright © 2016 Liferay, Inc.. All rights reserved.