Java File Path Delete deleteOldStorageFile(String filepath)

Here you can find the source of deleteOldStorageFile(String filepath)

Description

Delete the original storage file that the activity manager is saved in

License

Open Source License

Declaration

public static void deleteOldStorageFile(String filepath) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.io.File;

public class Main {
    /**//w  w  w  . ja va  2 s.  c  om
     * Delete the original storage file that the activity manager is saved in
     */
    public static void deleteOldStorageFile(String filepath) {
        File oldStorage = new File(filepath);
        oldStorage.delete();
    }
}

Related

  1. deleteInRemote(String host, String path)
  2. deleteJaasFile(String jaasPath)
  3. deleteKey(String path, String key)
  4. deleteMultipleFiles(String filePath, int numberOfFiles)
  5. deleteNonEmptyDirectory(String dirPath)
  6. deleteParent(String filePath)
  7. deletePath(File dirPath)
  8. deletePath(File path)
  9. deletePath(final File path)