public class Application extends Object implements Serializable
| Constructor and Description |
|---|
Application() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCaller()
获取调用者信息
|
static String |
getCaller(int num)
获取调用者信息
|
static String |
getClassLine(String className)
获取调用者信息
|
static String |
getClassRootPath()
方法说明:
方法用于获取 获取根目录
CreateTime Apr 17, 200911:14:42 PM
|
static String |
getNextClassLine(String className)
获取调用者信息
|
static String |
getRealFilePath(String resourcePath)
方法说明:
获取类路径中的资源文件的物理文件路径.
|
static String |
getRootPath()
方法说明:
方法用于获取 获取根目录
CreateTime Apr 17, 200911:14:42 PM
|
static boolean |
isWebPublish()
返回不同的发布平台
getPublishType
|
public static String getRootPath()
public static String getClassRootPath()
public static final boolean isWebPublish()
public static String getRealFilePath(String resourcePath)
resourcePath - 资源路径public static String getCaller()
public static String getCaller(int num)
num - 层次public static String getClassLine(String className)
className - 类名Copyright © 2017. All rights reserved.