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

jdk12RandomAccessFileAction

public class jdk12RandomAccessFileAction extends Object implements PrivilegedAction

Fields Summary
public static Constructor
cons
private String
name
private String
mode
Constructors Summary
public jdk12RandomAccessFileAction(String name, String mode)

	try {
	    cons = jdk12RandomAccessFileAction.class.getConstructor(new Class[] {
	     String.class, String.class});
	} catch (Throwable e) {
	}
     
	boolean rw = mode.equals("rw");
	if (!rw)
	    mode = "r";
	this.mode = mode;
	this.name = name;
    
Methods Summary
public java.lang.Objectrun()

	try {
	    return new RandomAccessFile(name, mode);
	} catch (Throwable e) {
	    return null;
	}