站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

StructuredExec (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.cmdline.exec
Class StructuredExec

java.lang.Object
  extended byorg.netbeans.modules.vcscore.cmdline.exec.StructuredExec

public class StructuredExec
extends Object

The representation of structured execution property.


Nested Class Summary
static class StructuredExec.Argument
          Representation of an argument.
The argument can be either a single String argument, or a sequence of space-separated arguments in a single String.
 
Constructor Summary
StructuredExec(File working, String executable, StructuredExec.Argument[] args)
          Creates a new instance of StructuredExec.
 
Method Summary
 void addArgument(int pos, StructuredExec.Argument arg)
           
 void addArgument(StructuredExec.Argument arg)
           
 StructuredExec.Argument[] getArguments()
           
 String getExecutable()
           
 StructuredExec getExpanded(Hashtable vars, boolean warnUndefVars)
           
 File getWorking()
          Get the working directory.
 void removeArgument(int pos)
           
 void setArgument(int pos, StructuredExec.Argument arg)
           
 void setArguments(StructuredExec.Argument[] args)
           
 void setExecutable(String executable)
           
 void setWorking(File working)
          Set the working directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructuredExec

public StructuredExec(File working,
                      String executable,
                      StructuredExec.Argument[] args)
Creates a new instance of StructuredExec.

Parameters:
working - The working directory or null to use the current working directory.
executable - The executable
args - The list of arguments passed to the executable
Method Detail

getWorking

public File getWorking()
Get the working directory.

Returns:
The working directory or null to use the current working directory.

setWorking

public void setWorking(File working)
Set the working directory.

Parameters:
working - The working directory or null to use the current working directory.

getExecutable

public String getExecutable()

setExecutable

public void setExecutable(String executable)

getArguments

public StructuredExec.Argument[] getArguments()

setArguments

public void setArguments(StructuredExec.Argument[] args)

setArgument

public void setArgument(int pos,
                        StructuredExec.Argument arg)

addArgument

public void addArgument(StructuredExec.Argument arg)

addArgument

public void addArgument(int pos,
                        StructuredExec.Argument arg)

removeArgument

public void removeArgument(int pos)

getExpanded

public StructuredExec getExpanded(Hashtable vars,
                                  boolean warnUndefVars)

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.