|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opera.core.systems.arguments.OperaArgument
public class OperaArgument
OperaArgument represents a single argument in a command-line argument list, typically represented
by OperaArguments.
| Nested Class Summary | |
|---|---|
static class |
OperaArgument.OperaArgumentSign
Holds definitions for prepended signs for arguments in various styles. |
| Constructor Summary | |
|---|---|
OperaArgument(String argument)
Creates a new argument with no value. |
|
OperaArgument(String argument,
String value)
Creates a new argument with a value. |
|
| Method Summary | |
|---|---|
String |
getArgument()
Gets the string representation of the argument without any prepended signs. |
String |
getValue()
Gets the value of the argument if it exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperaArgument(String argument)
argument should not contain
any argument signs (dashes) as this will be prepended later depending on which implementation
of OperaArguments you use.
argument - the argument to create, without any prepended signs
public OperaArgument(String argument,
String value)
attribute should not contain
any argument signs (dashes) as this will be prepended later depending on which implementation
of OperaArguments you use.
argument - the argument to create, without any prepended signsvalue - the value of the argument| Method Detail |
|---|
public String getArgument()
public String getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||