Android File Delete deleteOldFile(String strPath, String strWildcard, int iOffset)

Here you can find the source of deleteOldFile(String strPath, String strWildcard, int iOffset)

Description

Delete unused file

Parameter

Parameter Description
strPath Path to scan
strWildcard scan wildcard
iOffset miliseconds to determinate old file

Declaration

// //////////////////////////////////////////////////////
public static void deleteOldFile(String strPath, String strWildcard,
        int iOffset) 

Method Source Code

//package com.java2s;

public class Main {
    /**/*w ww. ja  v  a  2 s.c o m*/
     * Delete unused file
     * 
     * @param strPath
     *            Path to scan
     * @param strWildcard
     *            scan wildcard
     * @param iOffset
     *            miliseconds to determinate old file
     * @author Thai Hoang Hiep
     */
    // //////////////////////////////////////////////////////
    public static void deleteOldFile(String strPath, String strWildcard,
            int iOffset) {
    }
}

Related

  1. deleteFiles(File file, String regex)
  2. deleteFilesRecursive(File src)
  3. deleteFolder(File targetFolder)
  4. deleteFolders(File dir)
  5. deleteIfExists(File file)
  6. deleteRecursively(File dir)
  7. deleteRecursively(File f)
  8. deleteSubfiles(String publishTemppath)
  9. deleteTempDir(File dir)