public synchronized void setCommandMap (CommandMap commandMap)

Set the CommandMap for use by this DataHandler. Setting it to null causes the CommandMap to revert to the CommandMap returned by the CommandMap.getDefaultCommandMap method. Changing the CommandMap, or setting it to null, clears out any data cached from the previous CommandMap.

Parameters:
commandMap    the CommandMap to use in this DataHandler

See also:
javax.activation.CommandMap.setDefaultCommandMap