public class Argument extends Object
Constructor and Description |
---|
Argument(String aSwitch,
String sub,
String value,
boolean streamed)
Default constructor, initializes the members
|
Modifier and Type | Method and Description |
---|---|
String |
getSubstitution()
Returns the substitution switch
|
String |
getSwitch()
Returns the switch
|
String |
getValue()
Returns the value of the argument
|
boolean |
isStreamed()
Returns the boolean indicating if this argument should be sent to an
input stream.
|
void |
setStreamed(boolean aBool)
Sets the boolean indicating if this argument should be sent to an input
stream
|
void |
setSubstitution(String aValue)
Sets the substitution switch
|
void |
setSwitch(String aValue)
Sets the switch member
|
void |
setValue(String aValue)
Sets the value of the argument
|
String |
toString()
Returns a string representation of the argument, for purposes of
debugging
|
public void setSwitch(String aValue)
aValue
- the value of the switchpublic void setSubstitution(String aValue)
aValue
- the value of the substitutionpublic void setValue(String aValue)
aValue
- the value of the argumentpublic String getSwitch()
public String getSubstitution()
public String getValue()
public void setStreamed(boolean aBool)
aBool
- true if the argument should be sent to a input stream, false
otherwisepublic boolean isStreamed()
Copyright © 2021. All rights reserved.