public class OptionsParser extends Object
This class is not guaranteed to be threadsafe.
OptionsParserListener| Constructor and Description |
|---|
OptionsParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(String protocol,
String options,
OptionsParserListener callback)
Parses the options part of a connections string and informs the caller about found options with the
supplied callback listener.
|
public void parse(String protocol, String options, OptionsParserListener callback) throws SmartInspectException
protocol - The related protocol. Not allowed to be nulloptions - The options to parse. Not allowed to be nullcallback - The callback listener which should be informed about found options. Not allowed to be nullNullPointerException - If the protocol, options or callback argument is nullSmartInspectException - If the options string syntax is invalidOptionsParserListenerCopyright © 2023. All rights reserved.