add - 自定义视频路径22
This commit is contained in:
@@ -43,6 +43,11 @@ public class Misc {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static boolean isNumeric(String str){
|
||||||
|
Pattern pattern = Pattern.compile("[0-9]*");
|
||||||
|
return pattern.matcher(str).matches();
|
||||||
|
}
|
||||||
|
|
||||||
public static JSONObject jHeaders(int type,String url) {
|
public static JSONObject jHeaders(int type,String url) {
|
||||||
JSONObject headers = new JSONObject();
|
JSONObject headers = new JSONObject();
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user