开发者

how to save file app data folder

开发者 https://www.devze.com 2023-04-07 04:41 出处:网络
Im working on a project and I need the program to store some of the property files and some t开发者_如何转开发ext files.

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

精彩评论

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

关注公众号