public class ConnectionsParserEvent extends EventObject
This class is used by the ConnectionsParser class to inform interested parties about found protocols and options. It offers the necessary method to retrieve the found protocols and options in the event handlers.
This class is fully threadsafe.
source| Constructor and Description |
|---|
ConnectionsParserEvent(Object source,
String protocol,
String options)
Creates and initializes a new ConnectionsParserEvent instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOptions()
This method property returns the related options for the protocol
which has just been found by a ConnectionsParser object.
|
String |
getProtocol()
This method returns the protocol which has just been found by a
ConnectionsParser object.
|
getSource, toStringpublic ConnectionsParserEvent(Object source, String protocol, String options)
source - The object which caused the event.protocol - The protocol which has been found.options - The options of the new protocol.public String getProtocol()
public String getOptions()
Copyright © 2023. All rights reserved.