FileOutputStream
Class FileOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FileOutputStream
- All Implemented Interfaces:
- Closeable, Flushable, AutoCloseable
public class FileOutputStream extends OutputStream
A file output stream is an output stream for writing data to a File
or to a FileDescriptor
. Whether or not a file is available or may be created depends upon the underlying platform. Some platforms, in particular, allow a file to be opened for wr