54 lines
1.5 KiB
Java
54 lines
1.5 KiB
Java
package o;
|
|
|
|
/* renamed from: o.pI, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16548pI {
|
|
@InterfaceC13391fZD
|
|
public C16548pI() {
|
|
}
|
|
|
|
/* renamed from: o.pI$HBt */
|
|
/* loaded from: classes3.dex */
|
|
public static final class HBt {
|
|
private HBt() {
|
|
}
|
|
|
|
public /* synthetic */ HBt(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public static String e(String str, boolean z) {
|
|
C14957gcv.e(str, "");
|
|
if (str.length() != 10) {
|
|
return str;
|
|
}
|
|
if (z) {
|
|
CharSequence subSequence = str.subSequence(6, 9);
|
|
CharSequence subSequence2 = str.subSequence(9, 10);
|
|
StringBuilder sb = new StringBuilder("xxx-xxx");
|
|
sb.append((Object) subSequence);
|
|
sb.append("-");
|
|
sb.append((Object) subSequence2);
|
|
return sb.toString();
|
|
}
|
|
String substring = str.substring(0, 3);
|
|
C14957gcv.c((Object) substring, "");
|
|
String substring2 = str.substring(3, 9);
|
|
C14957gcv.c((Object) substring2, "");
|
|
String substring3 = str.substring(9, 10);
|
|
C14957gcv.c((Object) substring3, "");
|
|
StringBuilder sb2 = new StringBuilder();
|
|
sb2.append(substring);
|
|
sb2.append("-");
|
|
sb2.append(substring2);
|
|
sb2.append("-");
|
|
sb2.append(substring3);
|
|
return sb2.toString();
|
|
}
|
|
|
|
static {
|
|
new HBt((byte) 0);
|
|
}
|
|
}
|