MCPcopy Index your code
hub / github.com/Tencent/APIJSON / splitPath

Method splitPath

APIJSONORM/src/main/java/apijson/StringUtil.java:969–974  ·  view source on GitHub ↗

分割路径 @param path @return

(String path)

Source from the content-addressed store, hash-verified

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

Callers 2

getValueByPathMethod · 0.95
getArgValueMethod · 0.95

Calls 3

isNotEmptyMethod · 0.95
isPathMethod · 0.95
splitMethod · 0.95

Tested by

no test coverage detected