| Access | Constructor and Description |
|---|---|
| pack-priv | DirRandomAccessFile(File
The file name. name, String The file open mode: "r", "rw", "rws", or "rwd". The "rws" and "rwd" modes specify that the file is to
be synchronized, consistent with the java.io.RandomAccessFile class. However the
StorageRandomAccessFile.sync() method will be called even if the file was opened
in "rws" or "rwd" mode. If the "rws" or "rwd" modes are supported then the implementation
of StorageRandomAccessFile.sync need not do anything. mode)Construct a StorageRandomAccessFileImpl. |
| Modifier and Type | Method and Description |
|---|---|
| public DirRandomAccessFile | clone()
Overrides java. Implements org. Clone this file abstaction |
| public void | sync()
Implements org. Force any changes out to the persistent store. |
| _mode | back to summary |
|---|---|
| private final String _mode | |
| _name | back to summary |
|---|---|
| private final File _name | |
| DirRandomAccessFile | back to summary |
|---|---|
| pack-priv DirRandomAccessFile(File name, String mode) throws FileNotFoundException Construct a StorageRandomAccessFileImpl.
| |
| clone | back to summary |
|---|---|
| public DirRandomAccessFile clone() Overrides java. Implements org. Clone this file abstaction
| |
| sync | back to summary |
|---|---|
| public void sync() throws IOException Implements org. Force any changes out to the persistent store.
| |