Files
rr3-apk/decompiled/sources/com/fyber/inneractive/sdk/player/cache/o.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

42 lines
1.1 KiB
Java

package com.fyber.inneractive.sdk.player.cache;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
/* loaded from: classes2.dex */
public final class o {
public static final Charset a = Charset.forName("US-ASCII");
static {
Charset.forName("UTF-8");
}
public static void a(File file) throws IOException {
File[] listFiles = file.listFiles();
if (listFiles == null) {
throw new IOException("not a readable directory: " + file);
}
for (File file2 : listFiles) {
if (file2.isDirectory()) {
a(file2);
}
if (!file2.delete()) {
throw new IOException("failed to delete file: " + file2);
}
}
}
public static void a(Closeable closeable) {
if (closeable != null) {
try {
closeable.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception unused) {
}
}
}
}