Java save config files, multi OS

so my program is going to need to crate a file with login information. After that, everytime the program will just run normally, unless the login file gets deleted some how. I want to know of a quick way that I can do this in a multi OS way. I dont want to save the file to a specific part on the disk, because then I have to do it for every OS. What else can I do?
Considering that there are literally two operating systems to consider (Windows and POSIX), some OS-specific code doesn't seem like a huge deal.

以上就是Java save config files, multi OS的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准