com.nostra13.universalimageloader.core
Class DefaultConfigurationFactory

java.lang.Object
  extended by com.nostra13.universalimageloader.core.DefaultConfigurationFactory

public class DefaultConfigurationFactory
extends Object

Factory for providing of default options for configuration

Since:
1.5.6
Author:
Sergey Tarasevich (nostra13[at]gmail[dot]com)

Constructor Summary
DefaultConfigurationFactory()
           
 
Method Summary
static BitmapDisplayer createBitmapDisplayer()
          Create default implementation of BitmapDisplayer
static DiscCacheAware createDiscCache(android.content.Context context, FileNameGenerator discCacheFileNameGenerator, int discCacheSize, int discCacheFileCount)
          Create default implementation of DisckCacheAware depends on incoming parameters
static FileNameGenerator createFileNameGenerator()
          Create default implementation of FileNameGenerator
static ImageDownloader createImageDownloader(android.content.Context context)
          Create default implementation of ImageDownloader - BaseImageDownloader
static MemoryCacheAware<String,android.graphics.Bitmap> createMemoryCache(int memoryCacheSize, boolean denyCacheImageMultipleSizesInMemory)
          Create default implementation of MemoryCacheAware depends on incoming parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConfigurationFactory

public DefaultConfigurationFactory()
Method Detail

createFileNameGenerator

public static FileNameGenerator createFileNameGenerator()
Create default implementation of FileNameGenerator


createDiscCache

public static DiscCacheAware createDiscCache(android.content.Context context,
                                             FileNameGenerator discCacheFileNameGenerator,
                                             int discCacheSize,
                                             int discCacheFileCount)
Create default implementation of DisckCacheAware depends on incoming parameters


createMemoryCache

public static MemoryCacheAware<String,android.graphics.Bitmap> createMemoryCache(int memoryCacheSize,
                                                                                 boolean denyCacheImageMultipleSizesInMemory)
Create default implementation of MemoryCacheAware depends on incoming parameters


createImageDownloader

public static ImageDownloader createImageDownloader(android.content.Context context)
Create default implementation of ImageDownloader - BaseImageDownloader


createBitmapDisplayer

public static BitmapDisplayer createBitmapDisplayer()
Create default implementation of BitmapDisplayer



Copyright © 2011-2013. All Rights Reserved.