47 lines
1.2 KiB
Java
47 lines
1.2 KiB
Java
package o;
|
|
|
|
import java.util.HashMap;
|
|
|
|
/* renamed from: o.ptS, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C16641ptS extends BrP {
|
|
private static final HashMap<Integer, String> d;
|
|
|
|
static {
|
|
HashMap<Integer, String> hashMap = new HashMap<>();
|
|
d = hashMap;
|
|
hashMap.put(1, "Detected File Type Name");
|
|
hashMap.put(2, "Detected File Type Long Name");
|
|
hashMap.put(3, "Detected MIME Type");
|
|
hashMap.put(4, "Expected File Name Extension");
|
|
}
|
|
|
|
public C16641ptS(XRL xrl) {
|
|
a(new DfW(this));
|
|
e(1, xrl._name);
|
|
e(2, xrl._longName);
|
|
if (xrl._mimeType != null) {
|
|
e(3, xrl._mimeType);
|
|
}
|
|
String[] strArr = xrl._extensions;
|
|
String str = null;
|
|
if (((strArr == null || strArr.length == 0) ? null : strArr[0]) != null) {
|
|
String[] strArr2 = xrl._extensions;
|
|
if (strArr2 != null && strArr2.length != 0) {
|
|
str = strArr2[0];
|
|
}
|
|
e(4, str);
|
|
}
|
|
}
|
|
|
|
@Override // o.BrP
|
|
public final HashMap<Integer, String> c() {
|
|
return d;
|
|
}
|
|
|
|
@Override // o.BrP
|
|
public final String b() {
|
|
return "File Type";
|
|
}
|
|
}
|