|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nostra13.universalimageloader.core.DefaultConfigurationFactory
public class DefaultConfigurationFactory
Factory for providing of default options for configuration
Constructor Summary | |
---|---|
DefaultConfigurationFactory()
|
Method Summary | |
---|---|
static BitmapDisplayer |
createBitmapDisplayer()
Creates default implementation of BitmapDisplayer - SimpleBitmapDisplayer |
static DiskCache |
createDiskCache(android.content.Context context,
FileNameGenerator diskCacheFileNameGenerator,
long diskCacheSize,
int diskCacheFileCount)
Creates default implementation of DiskCache depends on incoming parameters |
static Executor |
createExecutor(int threadPoolSize,
int threadPriority,
QueueProcessingType tasksProcessingType)
Creates default implementation of task executor |
static FileNameGenerator |
createFileNameGenerator()
Creates default implementation of FileNameGenerator |
static ImageDecoder |
createImageDecoder(boolean loggingEnabled)
Creates default implementation of ImageDecoder - BaseImageDecoder |
static ImageDownloader |
createImageDownloader(android.content.Context context)
Creates default implementation of ImageDownloader - BaseImageDownloader |
static MemoryCache |
createMemoryCache(int memoryCacheSize)
Creates default implementation of MemoryCache - LruMemoryCache Default cache size = 1/8 of available app memory. |
static Executor |
createTaskDistributor()
Creates default implementation of task distributor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultConfigurationFactory()
Method Detail |
---|
public static Executor createExecutor(int threadPoolSize, int threadPriority, QueueProcessingType tasksProcessingType)
public static Executor createTaskDistributor()
public static FileNameGenerator createFileNameGenerator()
public static DiskCache createDiskCache(android.content.Context context, FileNameGenerator diskCacheFileNameGenerator, long diskCacheSize, int diskCacheFileCount)
DiskCache
depends on incoming parameters
public static MemoryCache createMemoryCache(int memoryCacheSize)
MemoryCache
- LruMemoryCache
public static ImageDownloader createImageDownloader(android.content.Context context)
ImageDownloader
- BaseImageDownloader
public static ImageDecoder createImageDecoder(boolean loggingEnabled)
ImageDecoder
- BaseImageDecoder
public static BitmapDisplayer createBitmapDisplayer()
BitmapDisplayer
- SimpleBitmapDisplayer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |