Class OptionsParserEvent

    • Constructor Detail

      • OptionsParserEvent

        public OptionsParserEvent​(Object source,
                                  String protocol,
                                  String key,
                                  String value)
        Creates and initializes a new OptionsParserEventArgs instance.
        Parameters:
        source - The object which caused the event
        protocol - The protocol of the new option
        key - The key of the new option
        value - The value of the new option
    • Method Detail

      • getProtocol

        public String getProtocol()
        This method returns the protocol of the option which has just been found by a OptionsParser object.
        Returns:
        The protocol of the found option
      • getKey

        public String getKey()
        This method returns the key of the option which has just been found by an OptionsParser object.
        Returns:
        The key of the found option.
      • getValue

        public String getValue()
        This method returns the value of the option which has just been found by a OptionsParser object.
        Returns:
        The value of the found option.