📄 syspathglobal.java
字号:
package com.util.task;
/**
* 保存一些路径
* @author
*
*/
public class SysPathGlobal {
private static String contextPath=null; //上下文路径
public static synchronized void setContextPath(String _contextPath)
{
contextPath=_contextPath;
}
public static synchronized String getContextPath()
{
return contextPath;
}
private SysPathGlobal(){}
private static String typePath=null;
private static String bakPath=null;
private static String errorPath=null;
public static String getBakPath() {
return bakPath;
}
public static void setBakPath(String bakPath) {
SysPathGlobal.bakPath = bakPath;
}
public static String getErrorPath() {
return errorPath;
}
public static void setErrorPath(String errorPath) {
SysPathGlobal.errorPath = errorPath;
}
// public static String getTypePath() {
// return typePath;
// }
//
// public static void setTypePath(String typePath) {
// SysCunChuGlobal.typePath = typePath;
// }
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -