public class StringUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
PACKAGE_EXT
支持的压缩包格式
|
Constructor and Description |
---|
StringUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
delStartPath(File file,
String startPath,
boolean inName)
删除文件开始的路径
|
static String |
getArgsValue(String[] args,
String name)
获取启动参数
|
static boolean |
isGeneral(CharSequence value,
int min,
int max)
id输入规则
|
public static final String[] PACKAGE_EXT
public static String getArgsValue(String[] args, String name)
args
- 所有参数name
- 参数名public static boolean isGeneral(CharSequence value, int min, int max)
value
- 值min
- 最短max
- 最长Copyright © 2017–2019. All rights reserved.