Java File Path Delete deleteFile(String filePathName)

Here you can find the source of deleteFile(String filePathName)

Description

delete File

License

Apache License

Declaration

static public boolean deleteFile(String filePathName) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.io.File;

public class Main {
    static public boolean deleteFile(String filePathName) {
        boolean success = (new File(filePathName)).delete();
        return success;
    }//  w w w . j  a va 2  s. c o m
}

Related

  1. deleteFile(String filePath)
  2. deleteFile(String filePath)
  3. deleteFile(String filePath)
  4. deleteFile(String filePath)
  5. deleteFile(String filePathAndName)
  6. deleteFile(String p_filePath, boolean pb_recursive)
  7. deleteFile(String path)
  8. deleteFile(String path)
  9. deleteFile(String path)