edu.stanford.hci.r3.actions.types
Class OpenFileAction

java.lang.Object
  extended by edu.stanford.hci.r3.actions.types.OpenFileAction
All Implemented Interfaces:
R3Action

public class OpenFileAction
extends java.lang.Object
implements R3Action

Opens a local file. If you send this across the wire, the local file better exist on the other device's file system. Otherwise, use an OpenURLAction instead.

This software is distributed under the BSD License.


Constructor Summary
OpenFileAction(java.io.File fileToOpen)
           
 
Method Summary
 void invoke()
          Invoke this action on the local machine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.stanford.hci.r3.actions.R3Action
toString
 

Constructor Detail

OpenFileAction

public OpenFileAction(java.io.File fileToOpen)
Parameters:
fileToOpen -
Method Detail

invoke

public void invoke()
Description copied from interface: R3Action
Invoke this action on the local machine. If you want to invoke this on a remote machine, you will need to send it across the wire. That machine will then unserialize the action object and call invoke() on ITS local machine.

Specified by:
invoke in interface R3Action
See Also:
R3Action.invoke()

Copyright 2006 Stanford University