public class PathUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
OS_ARCH |
static String |
OS_NAME |
static String |
OS_VERSION |
| Constructor and Description |
|---|
PathUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getClassesPath()
获取WEB-INF/classes/
|
static String |
getProjectName()
获取项目名
|
static String |
getWEBINFPath()
获取WebRoot
|
static String |
getWebRootPath()
获取WebRoot
|
static void |
main(String[] args) |
static String |
separator() |
void |
showURL() |
public static String OS_NAME
public static String OS_ARCH
public static String OS_VERSION
public static String separator()
public static void main(String[] args)
public static String getClassesPath()
public static String getWebRootPath()
public static String getWEBINFPath()
public static String getProjectName()
public void showURL()
throws IOException
IOExceptionCopyright © 2016 jufeng. All rights reserved.