@@ -0,0 +1,891 @@
+package sinfo.ufrn.br.japi;%0A%0Aimport android.content.Context;%0A%0Aimport java.io.File;%0A%0A/**%0A * Created by victor on 29/09/17.%0A */%0A%0Apublic class JApiCache %7B%0A    protected static void deleteCache(Context context) %7B%0A        try %7B%0A            File dir = context.getCacheDir();%0A            deleteDir(dir);%0A        %7D catch (Exception e) %7B%0A        %7D%0A    %7D%0A%0A    private static boolean deleteDir(File dir) %7B%0A        if (dir != null && dir.isDirectory()) %7B%0A            String%5B%5D children = dir.list();%0A            for (int i = 0; i %3C children.length; i++) %7B%0A                boolean success = deleteDir(new File(dir, children%5Bi%5D));%0A                if (!success) %7B%0A                    return false;%0A                %7D%0A            %7D%0A            return dir.delete();%0A        %7D else if (dir != null && dir.isFile()) %7B%0A            return dir.delete();%0A        %7D else %7B%0A            return false;%0A        %7D%0A    %7D%0A%7D%0A

Create JApiCache.java