The ClientStoreFile Class contains the following constructors:
ClientStoreFile(String stgfilename)
ClientStoreFile(ClientStore store, String stgfilename)
ClientStoreFile(String stgfilename, int flags)
ClientStoreFile(ClientStore store, String stgfilename, int flags)
Creates a ClientStoreFile object from the specified file name.
public ClientStoreFile(String stgfilename) throws IOException;
Returns the ClientStoreFile object that represents the specified file.
stgfilename | The name of the file. |
IOException if there is an I/O error.
Creates a ClientStoreFile object from the file name and the ClientStore object that the file is located in.
public ClientStoreFile(ClientStore store, String stgfilename) throws IOException;
Returns the ClientStoreFile object representing the file that is located in the client store.
store | The client store that contains the specified file. |
stgfilename | The name of the file. |
IOException if there is an I/O error.
Creates a ClientStoreFile object from the file name and any specified file flags.
public ClientStoreFile(String stgfilename, int flags) throws IOException;
Returns the ClientStoreFile object representing the file that is located in the client store.
stgfilename | The name of the file. |
flags | The flags that can be used with any of the file operations in this class. They can be any combination of the following:
OPEN_FL_SHARED |
IOException if there is an I/O error.
Creates a ClientStoreFile object from the file name, the ClientStore object that the file is located in, and any specified file flags.
public ClientStoreFile(ClientStore store, String stgfilename, int flags) throws IOException;
Returns the ClientStoreFile object representing the file that is located in the client store.
store | The client store that contains the specified file. |
stgfilename | The name of the file. |
flags | The flags that can be used with any of the file operations in this class. They can be any combination of the following:
OPEN_FL_SHARED |
IOException if there is an I/O error.