The markFileAsExpendable method of the ClientStore Class contains the following signatures:
markFileAsExpendable(String stgfilename, boolean deletewhenfull)
markFileAsExpendable(String stgfilename, int flags, boolean deletewhenfull)
Marks the specified file so that it is automatically deleted when the storage area is full.
public void markFileAsExpendable(String stgfilename, boolean deletewhenfull) throws IOExceptin;
stgfilename | The name of the file to mark. |
deletewhenfull | Set this value to true if the file is to be deleted when the client storage area is full; otherwise, set this value to false. |
IOException if the file name is not valid, if the file cannot be found, or if the file name specifies a directory.
Marks the specified file so that it is automatically deleted when the storage area is full.
public void markFileAsExpendable(String stgfilename, int flags, boolean deletewhenfull) throws IOException;
stgfilename | The name of the file to mark. |
flags | A value that indicates the storage area from which to delete stgfilename. It can be either or both of the STORE_FL_LOCAL and STORE_FL_ROAMING flags. |
deletewhenfull | Set this value to true if the file is to be deleted when the client storage area is full; otherwise, set this value to false. |
IOException if the file name is not valid, if the file cannot be found, or if the file name specifies a directory.