摘要:
/** * @author gongchaobin * * LruCache缓存Bitmap * (基于内存的缓存,读取时间比较快) */public class LruCacheUtil { private static final String TAG = LruCacheUtil.class.getSimpleName(); private int memClass; private LruCache<String,Bitmap> mMemoryCache;//高速缓存(系统) public static final String BITMAP = "bitma.. 阅读全文
posted @ 2012-12-04 10:51
暗殇
阅读(255)
评论(0)
推荐(0)
摘要:
public class FileUtil { /** * 删除某个目录 * * @param srcDir 目录地址 * @throws IOException */ public static void deleteDir(String srcDir) throws IOException{ File file = new File(srcDir); if (!file.exists()) return; File files[] = file.listFiles(); ... 阅读全文
posted @ 2012-12-04 10:33
暗殇
阅读(437)
评论(0)
推荐(0)

浙公网安备 33010602011771号