java.lang.Object
com.yaftp.utils.CommandArgs._ARGS_
- Enclosing class:
- CommandArgs
- class CommandArgs._ARGS_
- extends java.lang.Object
_name
private java.lang.String _name
_caseSensitive
private boolean _caseSensitive
_mandatory
private boolean _mandatory
_hasValue
private boolean _hasValue
_comment
private java.lang.String _comment
_value
private java.lang.String _value
_set
private boolean _set
CommandArgs._ARGS_
public CommandArgs._ARGS_(java.lang.String name,
boolean caseSensitive,
boolean mandatory,
boolean hasValue,
java.lang.String comment)
hasValue
public boolean hasValue()
is_mandatory
public boolean is_mandatory()
is_set
public boolean is_set()
is_caseSensitive
public boolean is_caseSensitive()
get_name
public java.lang.String get_name()
get_value
public java.lang.String get_value()
set_value
public void set_value(java.lang.String value)
set
public void set(boolean onof)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).