經安全檢測,此網站為安全網站,請放心前往原始網址!

How do I save a String to a text file using Java? - Stack Overflow

In Java, I have text from a text field in a String variable called "text". How can I ... If you're simply outputting text, rather than any binary data, the following will work:

stackoverflow.com

網址安全性掃描由 google 提供