public class PathKit extends Object
| 构造器和说明 |
|---|
PathKit() |
| 限定符和类型 | 方法和说明 |
|---|---|
static File |
getFileFromJar(String file)
getFileFromJar.
|
static String |
getPackagePath(Object object)
getPackagePath.
|
static String |
getPath(Class clazz)
getPath.
|
static String |
getPath(Object object)
getPath.
|
static String |
getRootClassPath()
Getter for the field
rootClassPath. |
static String |
getWebRootPath()
Getter for the field
webRootPath. |
static boolean |
isAbsolutePath(String path)
isAbsolutePath.
|
static void |
setRootClassPath(String rootClassPath)
Setter for the field
rootClassPath. |
static void |
setWebRootPath(String webRootPath)
Setter for the field
webRootPath. |
public static String getRootClassPath()
Getter for the field rootClassPath.
String object.public static void setRootClassPath(String rootClassPath)
Setter for the field rootClassPath.
rootClassPath - a String object.public static String getWebRootPath()
Getter for the field webRootPath.
String object.public static void setWebRootPath(String webRootPath)
Setter for the field webRootPath.
webRootPath - a String object.Copyright © 2023. All rights reserved.