- 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
44 lines
1.1 KiB
Java
44 lines
1.1 KiB
Java
package com.amazonaws.util;
|
|
|
|
import java.nio.charset.Charset;
|
|
import java.util.Locale;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class StringUtils {
|
|
public static final Charset UTF8 = Charset.forName("UTF-8");
|
|
|
|
public static String fromString(String str) {
|
|
return str;
|
|
}
|
|
|
|
public static String fromInteger(Integer num) {
|
|
return Integer.toString(num.intValue());
|
|
}
|
|
|
|
public static String lowerCase(String str) {
|
|
if (str == null) {
|
|
return null;
|
|
}
|
|
return str.isEmpty() ? "" : str.toLowerCase(Locale.ENGLISH);
|
|
}
|
|
|
|
public static String upperCase(String str) {
|
|
if (str == null) {
|
|
return null;
|
|
}
|
|
return str.isEmpty() ? "" : str.toUpperCase(Locale.ENGLISH);
|
|
}
|
|
|
|
public static boolean isBlank(CharSequence charSequence) {
|
|
int length;
|
|
if (charSequence != null && (length = charSequence.length()) != 0) {
|
|
for (int i = 0; i < length; i++) {
|
|
if (!Character.isWhitespace(charSequence.charAt(i))) {
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
}
|