The openReadable method of the ClientStore Class contains the following signatures:
openReadable(String stgfilename, int flags)
openReadable(String stgfilename)
Opens an existing file for reading.
public InputStream openReadable(String stgfilename, int flags) throws IOException;
Returns the input stream that is open for reading.
stgfilename | The name of the file to open for reading. |
flags | A value that indicates the requested type of file accessibility. It can be one or both of STORE_FL_ROAMING and STORE_FL_LOCAL. |
IOException if the method fails to create the file or if there is an error while attempting to truncate an existing file.
Opens an existing file for reading.
public InputStream openReadable(String stgfilename) throws IOException;
Returns the input stream that is open for reading.
stgfilename | The name of the file to open for reading. |
IOException if the method fails to create the file or if there is an error while attempting to truncate an existing file.