package ඓ.ῲ.K.ᨨ;

import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;

/* renamed from: ඓ.ῲ.K.ᨨ.ʬ  reason: contains not printable characters */
/* compiled from: Util */
public final class C1152 {

    /* renamed from: K  reason: contains not printable characters */
    public static final Charset f4630 = Charset.forName("US-ASCII");

    static {
        Charset.forName("UTF-8");
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m3079(File file) throws IOException {
        File[] listFiles = file.listFiles();
        if (listFiles != null) {
            for (File file2 : listFiles) {
                if (file2.isDirectory()) {
                    m3079(file2);
                }
                if (!file2.delete()) {
                    throw new IOException("failed to delete file: " + file2);
                }
            }
            return;
        }
        throw new IOException("not a readable directory: " + file);
    }
}
