public class InputFileInfo extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Blob |
blob |
protected Object |
choice |
static String |
EMPTY_FILE_MESSAGE |
protected Object |
filename |
static String |
INVALID_FILE_MESSAGE |
static String |
INVALID_WITH_AJAX_MESSAGE |
protected Object |
mimeType |
Constructor and Description |
---|
InputFileInfo() |
InputFileInfo(Object choice,
Blob blob,
Object filename,
Object mimeType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected static boolean |
equalValues(Object first,
Object second) |
Blob |
getBlob() |
Object |
getChoice() |
Blob |
getConvertedBlob() |
String |
getConvertedChoice() |
String |
getConvertedFilename() |
String |
getConvertedMimeType() |
Object |
getFilename() |
Object |
getMimeType() |
void |
setBlob(Blob blob) |
void |
setChoice(Object choice) |
void |
setFilename(Object filename) |
void |
setInfo(InputFileInfo previous)
Restores information on blob and filename from given
InputFileInfo . |
void |
setMimeType(Object mimeType) |
public static final String EMPTY_FILE_MESSAGE
public static final String INVALID_FILE_MESSAGE
public static final String INVALID_WITH_AJAX_MESSAGE
public InputFileInfo()
public InputFileInfo(Object choice, Blob blob, Object filename, Object mimeType)
public Object getMimeType()
public void setMimeType(Object mimeType)
public String getConvertedMimeType() throws javax.faces.convert.ConverterException
javax.faces.convert.ConverterException
public Blob getConvertedBlob() throws javax.faces.convert.ConverterException
javax.faces.convert.ConverterException
public String getConvertedChoice() throws javax.faces.convert.ConverterException
javax.faces.convert.ConverterException
public Object getFilename()
public void setFilename(Object filename)
public String getConvertedFilename() throws javax.faces.convert.ConverterException
javax.faces.convert.ConverterException
protected static boolean equalValues(Object first, Object second)
public void setInfo(InputFileInfo previous)
InputFileInfo
.Copyright © 2018 Nuxeo. All rights reserved.