- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
37 lines
982 B
Java
37 lines
982 B
Java
package com.ironsource.environment;
|
|
|
|
import com.ironsource.i9;
|
|
import java.io.UnsupportedEncodingException;
|
|
import java.net.URLDecoder;
|
|
import java.net.URLEncoder;
|
|
import java.util.Locale;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class StringUtils {
|
|
public static String decodeURI(String str) {
|
|
try {
|
|
return URLDecoder.decode(str, "UTF-8");
|
|
} catch (UnsupportedEncodingException e) {
|
|
i9.d().a(e);
|
|
return "";
|
|
}
|
|
}
|
|
|
|
public static String encodeURI(String str) {
|
|
try {
|
|
return URLEncoder.encode(str, "UTF-8").replace("+", "%20");
|
|
} catch (UnsupportedEncodingException e) {
|
|
i9.d().a(e);
|
|
return "";
|
|
}
|
|
}
|
|
|
|
public static String toLowerCase(String str) {
|
|
return str == null ? "" : str.toLowerCase(Locale.ENGLISH);
|
|
}
|
|
|
|
public static String toUpperCase(String str) {
|
|
return str == null ? "" : str.toUpperCase(Locale.ENGLISH);
|
|
}
|
|
}
|