开发者

how to save file app data folder

Im working on a project and I need the program to store some of the property files and some t开发者_如何转开发ext files.

How could I save a file in the appdata folder on windows in java also what would be the linux equivalent of appdat? Thanks in advance


Save the file to System.getenv("APPDATA")

AppData Java Docs


Consider using a sub-directory of user.home to store the data.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜