org.openide.cookies
Interface ArgumentsCookie

All Superinterfaces:
Node.Cookie
All Known Implementing Classes:
ExecSupport

public interface ArgumentsCookie
extends Node.Cookie

Provides ability for a data object or node to be passed runtime arguments. This is useful for, e.g., execution of a standalone class.

See Also:
Utilities.parseParameters(java.lang.String)

Method Summary
 String[] getArguments()
          Get the arguments.
 void setArguments(String[] args)
          Set the arguments.
 

Method Detail

getArguments

public String[] getArguments()
Get the arguments.
Returns:
the arguments. May be empty but not null.

setArguments

public void setArguments(String[] args)
                  throws IOException
Set the arguments.
Parameters:
args - the arguments. May be empty but not null.
Throws:
IOException - if the arguments could not be set


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.