Constructor and Description |
---|
FileInputStream(File file)
Creates a
FileInputStream by opening a connection to an actual file, the file named by the
File object file in the file system. |
FileInputStream(java.lang.String name)
Creates a
FileInputStream by opening a connection to an actual file, the file named by the path name
name in the file system. |
FileOutputStream(File file)
Creates a file output stream to write to the file represented by the specified
File object. |
FileOutputStream(File file,
boolean append)
Creates a file output stream to write to the file represented by the specified
File object. |
FileOutputStream(java.lang.String name)
Creates a file output stream to write to the file with the specified name.
|
FileOutputStream(java.lang.String name,
boolean append)
Creates a file output stream to write to the file with the specified name.
|
RandomAccessFile(File file,
java.lang.String mode)
Creates a random access file stream to read from, and optionally to write to, the file specified by the
File argument. |
RandomAccessFile(java.lang.String name,
java.lang.String mode)
Creates a random access file stream to read from, and optionally to write to, a file with the specified name.
|