星辰影院解锁vip v1.0.4版本的 MD5 值为:3d99bbcbb0d5d5e568b9f6134424c24e
以下内容为反编译后的 l.java 源代码,内容仅作参考
package org.qiyi.android.pingback;
import android.text.TextUtils;
import java.util.HashMap;
import java.util.Map;
public class l {
private static volatile l a;
private org.qiyi.android.pingback.z.e f16641c;
private final Map<String, org.qiyi.android.pingback.z.e> f16640b = new HashMap(4);
private String f16642d = null;
public static l c() {
if (a == null) {
synchronized (l.class) {
if (a == null) {
a = new l();
}
}
}
return a;
}
public org.qiyi.android.pingback.z.e a(String str) {
String e2 = e(str);
if (TextUtils.isEmpty(e2) || !this.f16640b.containsKey(e2)) {
e2 = "";
}
return this.f16640b.get(e2);
}
public String b() {
if (TextUtils.isEmpty(this.f16642d)) {
org.qiyi.android.pingback.internal.m.a.a("PingbackManager", new org.qiyi.android.pingback.t.a("Pingback Default url not set!"));
this.f16642d = "http://msg.qy.net/v5/alt/act";
}
return this.f16642d;
}
public org.qiyi.android.pingback.z.e d() {
return this.f16641c;
}
String e(String str) {
if (TextUtils.isEmpty(str)) {
return "";
}
int indexOf = str.indexOf("://");
int i2 = indexOf < 0 ? 0 : indexOf + 3;
int length = str.length();
int indexOf2 = str.indexOf(47, i2);
if (indexOf2 >= 0 && indexOf2 != length - 1) {
int indexOf3 = str.indexOf(63, i2);
if (indexOf3 >= 0) {
length = indexOf3;
}
if (length == indexOf2 + 1) {
return String.valueOf('/');
}
return str.substring(indexOf2, length);
}
return String.valueOf('/');
}
}