FileOutputStream
| Access | Constructor and Description |
|---|---|
| public | SyncableFileOutputStream(String
- the full file name. name)Creates an instance of SyncableFileOutputStream with the given name. |
| public | SyncableFileOutputStream(File
- The file to use to create the output stream. file)Creates an instance of SyncableFileOutputStream using the given File instance. |
| public | SyncableFileOutputStream(String
- the full file name. name, boolean - true if the file is to be appended to append)Creates an instance of SyncableFileOutputStream with the given name and optionally append to the file if it already exists. |
| public | SyncableFileOutputStream(File
- the file instance to use to create the stream. file, boolean - true if the file is to be appended to append)Creates an instance of SyncableFileOutputStream that writes to the file represented by the given File instance and optionally append to the file if it already exists. |
| public | SyncableFileOutputStream(FileDescriptor fdObj)
Creates an instance of SyncableFileOutputStream using the given FileDescriptor instance. |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| SyncableFileOutputStream | back to summary |
|---|---|
| public SyncableFileOutputStream(String name) throws FileNotFoundException Creates an instance of SyncableFileOutputStream with the given name.
| |
| SyncableFileOutputStream | back to summary |
|---|---|
| public SyncableFileOutputStream(File file) throws FileNotFoundException Creates an instance of SyncableFileOutputStream using the given File instance.
| |
| SyncableFileOutputStream | back to summary |
|---|---|
| public SyncableFileOutputStream(String name, boolean append) throws FileNotFoundException Creates an instance of SyncableFileOutputStream with the given name and optionally append to the file if it already exists.
| |
| SyncableFileOutputStream | back to summary |
|---|---|
| public SyncableFileOutputStream(File file, boolean append) throws FileNotFoundException Creates an instance of SyncableFileOutputStream that writes to the file represented by the given File instance and optionally append to the file if it already exists.
| |
| SyncableFileOutputStream | back to summary |
|---|---|
| public SyncableFileOutputStream(FileDescriptor fdObj) Creates an instance of SyncableFileOutputStream using the given FileDescriptor instance. | |
| sync | back to summary |
|---|---|
| public void sync() throws IOException Implements org. Doc from org. Sync the file to disk. On supported platforms, this method behaves like POSIX
| |