The openReadable method of the ClientStorageManager Class contains the following signatures:
openReadable(String stgfilename, int flags)
openReadable(String stgfilename)
Opens a file for reading from the store for the current principal.
public static InputStream openReadable(String stgfilename, int flags) throws IOException;
Returns the file that is open for reading.
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 flags OPEN_FL_SHARED, STORE_FL_ROAMING, or STORE_FL_LOCAL from the ClientStore class. |
Throws IOException if the file does not exist or cannot be opened for reading.
Opens a file for reading from the store for the current principal.
public static InputStream openReadable(String stgfilename) throws IOException;
Returns the file that is open for reading.
stgfilename | The name of the file to open. |
IOException if the file does not exist or cannot be opened.