C - The type of control decoded by this control decoder.
public interface ControlDecoder<C extends Control>
| Modifier and Type | Method and Description |
|---|---|
C |
decodeControl(Control control)
Decodes the provided control as a
Control of type C. |
java.lang.String |
getOID()
Returns the numeric OID associated with this control decoder.
|
C decodeControl(Control control) throws PluginException
Control of type C.control - The control to be decoded.PluginException - If the control contained the wrong OID, it did not have a value, or if its value could not be decoded.java.lang.String getOID()