public class OptionsParserEvent extends EventObject
This class is used by the OptionsParser.parse(java.lang.String, java.lang.String, com.gurock.smartinspect.connections.options.OptionsParserListener) method.
This class is fully threadsafe.
source| Constructor and Description |
|---|
OptionsParserEvent(Object source,
String protocol,
String key,
String value)
Creates and initializes a new OptionsParserEventArgs instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
This method returns the key of the option which has just been
found by an OptionsParser object.
|
String |
getProtocol()
This method returns the protocol of the option which has just
been found by a OptionsParser object.
|
String |
getValue()
This method returns the value of the option which has just been
found by a OptionsParser object.
|
getSource, toStringpublic OptionsParserEvent(Object source, String protocol, String key, String value)
source - The object which caused the eventprotocol - The protocol of the new optionkey - The key of the new optionvalue - The value of the new optionpublic String getProtocol()
public String getKey()
public String getValue()
Copyright © 2023. All rights reserved.