This commit is contained in:
yangqiang3504
2022-08-24 16:33:13 +08:00
parent e2080f05bc
commit 3ea32c34f1
5 changed files with 48 additions and 19 deletions
@@ -1,9 +1,7 @@
package com.github.catvod.utils;
import android.net.Uri;
import android.os.Build;
import com.github.catvod.crawler.SpiderDebug;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.HashMap;
@@ -42,7 +40,6 @@ public class Misc {
}
return false;
}
public static boolean isNumeric(String str){
Pattern pattern = Pattern.compile("[0-9]*");
return pattern.matcher(str).matches();
@@ -194,7 +191,6 @@ public class Misc {
return taskResult;
}
public static Charset CharsetUTF8 = Charset.forName("UTF-8");
public static Charset CharsetIOS8859 = Charset.forName("iso-8859-1");