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 - NotImageExceptionUnsupportedFormatExceptionBaseLazyImage create(java.io.File file, java.lang.String md5) throws NotImageException, UnsupportedFormatException
file - md5 - file的MD5较验码,可以为nullNotImageExceptionUnsupportedFormatException<T> BaseLazyImage create(T src) throws NotImageException, UnsupportedFormatException
src - NotImageExceptionUnsupportedFormatExceptionCopyright © 2019. All rights reserved.