javax.activation
Interface CommandObject


public interface CommandObject

Bean interface to implement in order to receive notification of the command verb.

Version:
1.1
Author:
Chris Burdess

Method Summary
 void setCommandContext(java.lang.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.
 

Method Detail

setCommandContext

void setCommandContext(java.lang.String verb,
                       DataHandler dh)
                       throws java.io.IOException
Initializes the command with the verb it is expected to perform and the data handler describing the data to operate on.

Parameters:
verb - the command verb
dh - the data handler describing the data to process
Throws:
java.io.IOException


© Copyright 2002 The Free Software Foundation, All rights reserved