📄 files4possys.java
字号:
package com.frontMachine.server;
import java.io.File;
import com.frontMachine.client.DownloadType;
import com.frontMachine.util.ExceptionLoger;
/**
* @Pos接口程序的更新目录
* @author LRT
* @version 1.0
*/
public class Files4PosSys extends Files4Download
{
protected static Files4PosSys file4PosInstance;
private Files4PosSys()
{
dlpath = "./forDownload";
dldir=new File(dlpath);
downloadType = DownloadType.DOWNLOADTYPE_POS;
/*try
{
System.out.println("The Directory For Download: "+dldir.getCanonicalPath());
}
catch(Exception e){}*/
this.reflashDIR();
}
public static synchronized Files4PosSys getInstance()
{
try
{
if(file4PosInstance == null)
{
file4PosInstance = new Files4PosSys();
}
}
catch (Exception e)
{
ExceptionLoger.ExLog(e);
}
return file4PosInstance;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -