public interface LazyImageFactory
Modifier and Type | Method and Description |
---|---|
BaseLazyImage |
create(byte[] imgBytes)
创建并打开对象
|
BaseLazyImage |
create(java.io.File file,
java.lang.String md5)
用本地图像文件创建对象
|
<T> BaseLazyImage |
create(T src)
多源创建对象
|
BaseLazyImage create(byte[] imgBytes) throws NotImageException, UnsupportedFormatException
imgBytes
- NotImageException
UnsupportedFormatException
BaseLazyImage create(java.io.File file, java.lang.String md5) throws NotImageException, UnsupportedFormatException
file
- md5
- file
的MD5较验码,可以为nullNotImageException
UnsupportedFormatException
<T> BaseLazyImage create(T src) throws NotImageException, UnsupportedFormatException
src
- NotImageException
UnsupportedFormatException
Copyright © 2019. All rights reserved.