FileDocCategorySizeDatePackage
jdk12DeleteFileAction.javaAPI DocJMF 2.1.1e975Mon May 12 12:20:46 BST 2003com.sun.media.util

jdk12DeleteFileAction

public class jdk12DeleteFileAction extends Object implements PrivilegedAction

Fields Summary
public static Constructor
cons
private File
file
private static Boolean
TRUE
private static Boolean
FALSE
Constructors Summary
public jdk12DeleteFileAction(File file)


     
	try {
	    cons = jdk12DeleteFileAction.class.getConstructor(new Class[] {
		File.class});
	} catch (Throwable e) {
	}
    
	
	try {
	    this.file = file;
	} catch (Throwable e) {
	}
    
Methods Summary
public java.lang.Objectrun()

	try {
	    if (file != null) {
		if (file.delete())
		    return TRUE;
		else
		    return FALSE;
	    } else {
		return FALSE;
	    }
	} catch (Throwable e) {
	    return null;
	}