179 lines
5.6 KiB
Java
179 lines
5.6 KiB
Java
|
package o;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class WIK extends C0743NnU<POn> {
|
||
|
public WIK(POn pOn) {
|
||
|
super(pOn);
|
||
|
}
|
||
|
|
||
|
@Override // o.C0743NnU
|
||
|
public final String d(int i) {
|
||
|
boolean z;
|
||
|
if (i == 276) {
|
||
|
Integer j = ((POn) this.a).j(276);
|
||
|
if (j == null) {
|
||
|
return null;
|
||
|
}
|
||
|
switch (j.intValue()) {
|
||
|
case 0:
|
||
|
return "No ObjectData";
|
||
|
case 1:
|
||
|
return "IPTC-NAA Digital Newsphoto Parameter Record";
|
||
|
case 2:
|
||
|
return "IPTC7901 Recommended Message Format";
|
||
|
case 3:
|
||
|
return "Tagged Image File Format (Adobe/Aldus Image data)";
|
||
|
case 4:
|
||
|
return "Illustrator (Adobe Graphics data)";
|
||
|
case 5:
|
||
|
return "AppleSingle (Apple Computer Inc)";
|
||
|
case 6:
|
||
|
return "NAA 89-3 (ANPA 1312)";
|
||
|
case 7:
|
||
|
return "MacBinary II";
|
||
|
case 8:
|
||
|
return "IPTC Unstructured Character Oriented File Format (UCOFF)";
|
||
|
case 9:
|
||
|
return "United Press International ANPA 1312 variant";
|
||
|
case 10:
|
||
|
return "United Press International Down-Load Message";
|
||
|
case 11:
|
||
|
return "JPEG File Interchange (JFIF)";
|
||
|
case 12:
|
||
|
return "Photo-CD Image-Pac (Eastman Kodak)";
|
||
|
case 13:
|
||
|
return "Bit Mapped Graphics File [.BMP] (Microsoft)";
|
||
|
case 14:
|
||
|
return "Digital Audio File [.WAV] (Microsoft & Creative Labs)";
|
||
|
case 15:
|
||
|
return "Audio plus Moving Video [.AVI] (Microsoft)";
|
||
|
case 16:
|
||
|
return "PC DOS/Windows Executable Files [.COM][.EXE]";
|
||
|
case 17:
|
||
|
return "Compressed Binary File [.ZIP] (PKWare Inc)";
|
||
|
case 18:
|
||
|
return "Audio Interchange File Format AIFF (Apple Computer Inc)";
|
||
|
case 19:
|
||
|
return "RIFF Wave (Microsoft Corporation)";
|
||
|
case 20:
|
||
|
return "Freehand (Macromedia/Aldus)";
|
||
|
case 21:
|
||
|
return "Hypertext Markup Language [.HTML] (The Internet Society)";
|
||
|
case 22:
|
||
|
return "MPEG 2 Audio Layer 2 (Musicom), ISO/IEC";
|
||
|
case 23:
|
||
|
return "MPEG 2 Audio Layer 3, ISO/IEC";
|
||
|
case 24:
|
||
|
return "Portable Document File [.PDF] Adobe";
|
||
|
case 25:
|
||
|
return "News Industry Text Format (NITF)";
|
||
|
case 26:
|
||
|
return "Tape Archive [.TAR]";
|
||
|
case 27:
|
||
|
return "Tidningarnas Telegrambyra NITF version (TTNITF DTD)";
|
||
|
case 28:
|
||
|
return "Ritzaus Bureau NITF version (RBNITF DTD)";
|
||
|
case 29:
|
||
|
return "Corel Draw [.CDR]";
|
||
|
default:
|
||
|
return String.format("Unknown (%d)", j);
|
||
|
}
|
||
|
}
|
||
|
if (i == 326) {
|
||
|
return h(326);
|
||
|
}
|
||
|
if (i == 336) {
|
||
|
return f(336);
|
||
|
}
|
||
|
if (i != 537) {
|
||
|
if (i == 542) {
|
||
|
return h(542);
|
||
|
}
|
||
|
if (i == 547) {
|
||
|
return f(547);
|
||
|
}
|
||
|
if (i == 559) {
|
||
|
return h(559);
|
||
|
}
|
||
|
if (i == 567) {
|
||
|
return h(567);
|
||
|
}
|
||
|
if (i == 572) {
|
||
|
return f(572);
|
||
|
}
|
||
|
if (i == 549) {
|
||
|
return h(549);
|
||
|
}
|
||
|
if (i == 550) {
|
||
|
return f(550);
|
||
|
}
|
||
|
if (i == 574) {
|
||
|
return h(574);
|
||
|
}
|
||
|
if (i != 575) {
|
||
|
return super.d(i);
|
||
|
}
|
||
|
return f(575);
|
||
|
}
|
||
|
String[] strArr = (String[]) BrP.b(new Object[]{(POn) this.a, 537}, -2018331667, 2018331669, 537);
|
||
|
if (strArr == null) {
|
||
|
return null;
|
||
|
}
|
||
|
int length = strArr.length;
|
||
|
int i2 = 0;
|
||
|
int i3 = 0;
|
||
|
while (true) {
|
||
|
z = true;
|
||
|
if (i2 >= length) {
|
||
|
break;
|
||
|
}
|
||
|
i3 += strArr[i2].length() + 1;
|
||
|
i2++;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder(i3);
|
||
|
for (String str : strArr) {
|
||
|
if (z) {
|
||
|
z = false;
|
||
|
} else {
|
||
|
sb.append(";");
|
||
|
}
|
||
|
sb.append((CharSequence) str);
|
||
|
}
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
private String h(int i) {
|
||
|
String o2 = ((POn) this.a).o(i);
|
||
|
if (o2 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
if (o2.length() != 8) {
|
||
|
return o2;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(o2.substring(0, 4));
|
||
|
sb.append(':');
|
||
|
sb.append(o2.substring(4, 6));
|
||
|
sb.append(':');
|
||
|
sb.append(o2.substring(6));
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
private String f(int i) {
|
||
|
String o2 = ((POn) this.a).o(i);
|
||
|
if (o2 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
if (o2.length() != 6 && o2.length() != 11) {
|
||
|
return o2;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(o2.substring(0, 2));
|
||
|
sb.append(':');
|
||
|
sb.append(o2.substring(2, 4));
|
||
|
sb.append(':');
|
||
|
sb.append(o2.substring(4));
|
||
|
return sb.toString();
|
||
|
}
|
||
|
}
|