Java Code Examples for com.alibaba.excel.enums.CellDataTypeEnum#IMAGE

The following examples show how to use com.alibaba.excel.enums.CellDataTypeEnum#IMAGE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CellData.java    From easyexcel with Apache License 2.0 5 votes vote down vote up
public CellData(byte[] imageValue) {
    if (imageValue == null) {
        throw new IllegalArgumentException("ImageValue can not be null");
    }
    this.type = CellDataTypeEnum.IMAGE;
    this.imageValue = imageValue;
    this.formula = Boolean.FALSE;
}
 
Example 2
Source File: StringImageConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.IMAGE;
}
 
Example 3
Source File: InputStreamImageConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.IMAGE;
}
 
Example 4
Source File: UrlImageConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.IMAGE;
}
 
Example 5
Source File: ByteArrayImageConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.IMAGE;
}
 
Example 6
Source File: BoxingByteArrayImageConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.IMAGE;
}
 
Example 7
Source File: FileImageConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.IMAGE;
}