The openRandom method of the ClientStore Class contains the following signatures:
openRandom(String stgfilename, boolean writable)
openRandom(String stgfilename, int flags)
openRandom(String stgfilename)
Opens a RandomAccessFile from the store for read or write operations.
public RandomAccessFile openRandom(String stgfilename, boolean writable) throws IOException;
Returns the RandomAccessFile that is opened.
stgfilename | The name of the file to open. |
writable | Set this value to true if the file is to be opened as OPEN_FL_WRITABLE; otherwise, set this value to false. |
IOException if the method fails to create or open the specified file.
Opens a RandomAccessFile from the store for read or write operations.
public RandomAccessFile openRandom(String stgfilename, int flags) throws IOException;
Returns the RandomAccessFile that is opened.
stgfilename | The name of the file to open. |
flags | A value that indicates the requested type of file accessibility. It can be any combination of the following accessibilities:
STORE_FL_LOCAL |
IOException if the method fails to create or open the specified file.
Opens a RandomAccessFile from the store for read operations, with no specified flags.
public RandomAccessFile openRandom(String stgfilename) throws IOException;
Returns the RandomAccessFile that is opened.
stgfilename | The name of the file to open. |
IOException if the method fails to open the specified file.