本文整理汇总了Java中com.nostra13.universalimageloader.core.DefaultConfigurationFactory.createFileNameGenerator方法的典型用法代码示例。如果您正苦于以下问题:Java DefaultConfigurationFactory.createFileNameGenerator方法的具体用法?Java DefaultConfigurationFactory.createFileNameGenerator怎么用?Java DefaultConfigurationFactory.createFileNameGenerator使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.nostra13.universalimageloader.core.DefaultConfigurationFactory
的用法示例。
在下文中一共展示了DefaultConfigurationFactory.createFileNameGenerator方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: LimitedAgeDiscCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
public LimitedAgeDiscCache(File cacheDir, long maxAge) {
this(cacheDir, null, DefaultConfigurationFactory.createFileNameGenerator(), maxAge);
}
示例2: BaseDiscCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
public BaseDiscCache(File cacheDir, File reserveCacheDir) {
this(cacheDir, reserveCacheDir, DefaultConfigurationFactory.createFileNameGenerator());
}
示例3: LimitedAgeDiskCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
public LimitedAgeDiskCache(File cacheDir, long maxAge) {
this(cacheDir, null, DefaultConfigurationFactory.createFileNameGenerator(), maxAge);
}
示例4: BaseDiskCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
public BaseDiskCache(File cacheDir, File reserveCacheDir) {
this(cacheDir, reserveCacheDir, DefaultConfigurationFactory.createFileNameGenerator());
}
示例5: LimitedAgeDiscCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
public LimitedAgeDiscCache(File file, long l)
{
this(file, null, DefaultConfigurationFactory.createFileNameGenerator(), l);
}
示例6: BaseDiscCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
public BaseDiscCache(File file, File file1)
{
this(file, file1, DefaultConfigurationFactory.createFileNameGenerator());
}
示例7: UnlimitedDiscCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
/** @param cacheDir Directory for file caching */
public UnlimitedDiscCache(File cacheDir) {
this(cacheDir, DefaultConfigurationFactory.createFileNameGenerator());
}
示例8: BaseDiscCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
public BaseDiscCache(File cacheDir) {
this(cacheDir, DefaultConfigurationFactory.createFileNameGenerator());
}
示例9: LimitedAgeDiskCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
/**
* @param cacheDir Directory for file caching
* @param maxAge Max file age (in seconds). If file age will exceed this value then it'll be removed on next
* treatment (and therefore be reloaded).
*/
public LimitedAgeDiskCache(File cacheDir, long maxAge) {
this(cacheDir, null, DefaultConfigurationFactory.createFileNameGenerator(), maxAge);
}
示例10: BaseDiskCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
/**
* @param cacheDir Directory for file caching
* @param reserveCacheDir null-ok; Reserve directory for file caching. It's used when the primary directory isn't available.
*/
public BaseDiskCache(File cacheDir, File reserveCacheDir) {
this(cacheDir, reserveCacheDir, DefaultConfigurationFactory.createFileNameGenerator());
}
示例11: LimitedAgeDiscCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
/**
* @param cacheDir Directory for file caching
* @param maxAge Max file age (in seconds). If file age will exceed this value then it'll be removed on next
* treatment (and therefore be reloaded).
*/
public LimitedAgeDiscCache(File cacheDir, long maxAge) {
this(cacheDir, null, DefaultConfigurationFactory.createFileNameGenerator(), maxAge);
}
示例12: BaseDiscCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
/**
* @param cacheDir Directory for file caching
* @param reserveCacheDir null-ok; Reserve directory for file caching. It's used when the primary directory isn't available.
*/
public BaseDiscCache(File cacheDir, File reserveCacheDir) {
this(cacheDir, reserveCacheDir, DefaultConfigurationFactory.createFileNameGenerator());
}
示例13: LimitedAgeDiskCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
/**
* 构造器 需要传入文件的最大缓存时间
* @param cacheDir Directory for file caching
* @param maxAge 时间的单位为秒级别.
* Max file age (in seconds). If file age will exceed this value then it'll be removed on next
* treatment (and therefore be reloaded).
*/
public LimitedAgeDiskCache(File cacheDir, long maxAge) {
this(cacheDir, null, DefaultConfigurationFactory.createFileNameGenerator(), maxAge);
}
示例14: BaseDiskCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
/**
* 构造方法 传入缓存文件夹 以及备用缓存文件夹
* @param cacheDir Directory for file caching
* @param reserveCacheDir null-ok; Reserve directory for file caching. It's used when the primary directory isn't available.
*/
public BaseDiskCache(File cacheDir, File reserveCacheDir) {
this(cacheDir, reserveCacheDir, DefaultConfigurationFactory.createFileNameGenerator());
}
示例15: LimitedDiscCache
import com.nostra13.universalimageloader.core.DefaultConfigurationFactory; //导入方法依赖的package包/类
/**
* @param cacheDir Directory for file caching. <b>Important:</b> Specify separate folder for cached files. It's
* needed for right cache limit work.
* @param sizeLimit Cache limit value. If cache exceeds this limit then file with the most oldest last usage date
* will be deleted.
*/
public LimitedDiscCache(File cacheDir, int sizeLimit) {
this(cacheDir, DefaultConfigurationFactory.createFileNameGenerator(), sizeLimit);
}