分割路径 @param path @return
(String path)
| 967 | * @return |
| 968 | */ |
| 969 | public static String[] splitPath(String path) { |
| 970 | if (StringUtil.isNotEmpty(path, true) == false) { |
| 971 | return null; |
| 972 | } |
| 973 | return isPath(path) ? split(path, SEPARATOR) : new String[] {path}; |
| 974 | } |
| 975 | /**将s分割成String[] |
| 976 | * @param s |
| 977 | * @return |
no test coverage detected