public class LazyImageFactoryByBitmap extends java.lang.Object implements LazyImageFactory
| Constructor and Description |
|---|
LazyImageFactoryByBitmap() |
| 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)
多源创建对象
|
public LazyImageFactoryByBitmap()
public BaseLazyImage create(byte[] imgBytes) throws NotImageException, UnsupportedFormatException
LazyImageFactorycreate in interface LazyImageFactoryNotImageExceptionUnsupportedFormatExceptionpublic BaseLazyImage create(java.io.File file, java.lang.String md5) throws NotImageException, UnsupportedFormatException
LazyImageFactorycreate in interface LazyImageFactorymd5 - file的MD5较验码,可以为nullNotImageExceptionUnsupportedFormatExceptionpublic <T> BaseLazyImage create(T src) throws NotImageException, UnsupportedFormatException
LazyImageFactorycreate in interface LazyImageFactoryNotImageExceptionUnsupportedFormatExceptionCopyright © 2019. All rights reserved.