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

jdk12MakeDirectoryAction

public class jdk12MakeDirectoryAction extends Object implements PrivilegedAction

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

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

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