[英]Where to put application data and temp files on Windows, Linux and MAC if java-application is being lauched using JWS
Can we allow user to set and save application data and temp data using Java-Application that has beenrun/launch using JWS ? 我们是否可以允许用户使用已通过JWS运行/启动的Java-Application设置和保存应用程序数据和临时数据? Does it make sense ? 是否有意义 ?
We would like to know if user run JNLP directly then can user save preferences settings on local so when he/she run again JNLP he/she could find his/her last saved settings again. 我们想知道用户是否直接运行JNLP,然后可以在本地保存用户首选项设置,因此当他/她再次运行JNLP时,他/她可以再次找到他/她最近一次保存的设置。
Where to put application data ie configuration files, properties file. 在哪里放置应用程序数据,即配置文件,属性文件。 user download path etc.. and where to put temp files ie. 用户下载路径等。以及将临时文件放在哪里。 logs etc.. on Windows, Linux and MAC if java-application is being launched using JWS ? Windows,Linux和MAC上的日志等。如果正在使用JWS启动Java应用程序?
I often use java.util.prefs.Preferences
, but javax.jnlp.PersistenceService
is available to Java Web Start applications. 我经常使用java.util.prefs.Preferences
,但是javax.jnlp.PersistenceService
可用于Java Web Start应用程序。 Both represent abstractions that are cross-platform. 两者都代表跨平台的抽象。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.