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

StructuredExec.Argument (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

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

java.lang.Object
  extended byorg.netbeans.modules.vcscore.cmdline.exec.StructuredExec.Argument
Enclosing class:
StructuredExec

public static class StructuredExec.Argument
extends Object

Representation of an argument.
The argument can be either a single String argument, or a sequence of space-separated arguments in a single String. This is distinguished by the line property.


Constructor Summary
StructuredExec.Argument(String argument, boolean line)
          Create a new argument.
 
Method Summary
 String getArgument()
           
 boolean isLine()
           
 void setArgument(String argument)
           
 void setLine(boolean line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructuredExec.Argument

public StructuredExec.Argument(String argument,
                               boolean line)
Create a new argument.

Parameters:
argument - The String value of the argument.
line - When false, the argument represents a single String argument of the executable, if false, the argument represents a sequence of space-separated arguments.
Method Detail

getArgument

public String getArgument()

setArgument

public void setArgument(String argument)

isLine

public boolean isLine()

setLine

public void setLine(boolean line)

 

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