|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.task.LineWord
public class LineWord
Represents a single word on the command line used as by LineEnvironment.
Constructor Summary | |
---|---|
LineWord(String text)
Constructor. |
Method Summary | |
---|---|
String |
getName()
Returns the parameter name represented by this word. |
String |
getText()
Returns the full text of the original command-line argument. |
String |
getValue()
Returns the parameter value represented by this word. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LineWord(String text)
name=value
or, for positionally-determined parameters,
just value
.
text
- command-line argumentMethod Detail |
---|
public String getName()
public String getValue()
public String getText()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |