public class UrlUtil
extends java.lang.Object
Copyright (c) 2010-2020 Tencent Cloud. All rights reserved.
构造器和说明 |
---|
UrlUtil() |
限定符和类型 | 方法和说明 |
---|---|
static UrlUploadPolicy |
getUrlUploadPolicy(java.lang.String url)
获取url上传策略
注意:需要外部控制在非主线程执行
|
static boolean |
isUrl(java.lang.String url)
是否是URL
|
public static boolean isUrl(java.lang.String url)
url
- 需要校验的字符串public static UrlUploadPolicy getUrlUploadPolicy(java.lang.String url)
url
- url