com.bstek.dorado.util
public abstract class PathUtils extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char |
PATH_DELIM |
Constructor and Description |
---|
PathUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
concatPath(java.lang.String... paths) |
static boolean |
isSafePath(java.lang.String path) |
static boolean |
match(java.lang.String pattern,
java.lang.String text)
判断给定的字符串是否匹配通配表达式。
|
public static final char PATH_DELIM
public static boolean match(java.lang.String pattern, java.lang.String text)
pattern
- 通配表达式text
- 要判断的字符串public static java.lang.String concatPath(java.lang.String... paths)
public static boolean isSafePath(java.lang.String path)
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.