欢迎访问悦橙教程(wld5.com),关注java教程。悦橙教程  java问答|  每日更新
页面导航 : > > 文章正文

java,

来源: javaer 分享于  点击 35246 次 点评:33

java,


public class ApplicationPath {
public static java.util.Properties param;

private static ApplicationPath instance = null;

private ApplicationPath() {
InputStream in = null;
try {
in = this.getClass().getResourceAsStream(
"/app.properties");
Properties p = new Properties();
p.load(in);
param = p;

} catch (Exception e) {

e.printStackTrace();
} finally {
try {
in.close();
} catch (Exception e) {
}
}
}

public static synchronized ApplicationPath getInstance() {
if (instance == null) {
instance = new ApplicationPath();
}
return instance;
}

}


**************************************************************

DiskPath = D\:\\uploadFiles

templatePath = /person_picuter
xtsoft = \\xtsoft
FileUploadMethod = 1
#DiskPath =/weblogic/resources/uploadFiles
ftpHost = 192.168.2.220
ftpPort = 21
ftpUser = doc
ftpPassword = doc
initialSize = 100
maxSize = 1000
uploadfileSize=10
picuterSize=200

相关文章

    暂无相关文章
相关栏目:

用户点评