This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* * 文 件 名: DataCleanManager.java * 描 述: 主要功能有清除内/外缓存,清除数据库,清除sharedPreference,清除files和清除自定义目录 */ | |
import java.io.File; | |
import android.content.Context; | |
import android.os.Environment; | |
/** * 本应用数据清除管理器 */ | |
public class DataCleanManager { | |
/** * 清除本应用内部缓存(/data/data/com.xxx.xxx/cache) * * @param context */ | |
public static void cleanInternalCache(Context context) { |