How do I print to a file?

John Zukowski

Typically, you would create a FileOutputStream and pass it to the PrintStream constructor. Starting with 5.0, you can pass the File or String name for file directory to the PrintStream constructor.

About | Sitemap | Contact