javax.activation
public interface CommandObject
Modifier and Type | Method and Description |
---|---|
void |
setCommandContext(String verb,
DataHandler dh)
Initializes the command with the verb it is expected to perform and
the data handler describing the data to operate on.
|
void setCommandContext(String verb, DataHandler dh) throws IOException
verb
- the command verbdh
- the data handler describing the data to processIOException