public boolean execute(String verb,String parameter){
  if (verb != null && verb.equalsIgnoreCase(getCommandString())) {
    if (parameter != null && parameter.equalsIgnoreCase(DOWN_COMMAND_STRING)) {
      press();
    }
 else     if (parameter != null && parameter.equalsIgnoreCase(UP_COMMAND_STRING)) {
      release();
    }
 else {
      return false;
    }
    return true;
  }
  return false;
}

public boolean execute ( String verb , String parameter ) { if ( verb != null && verb . equalsIgnoreCase ( getCommandString ( ) ) ) { if ( parameter != null && parameter . equalsIgnoreCase ( DOWN_COMMAND_STRING ) ) { press ( ) ; } else if ( parameter != null && parameter . equalsIgnoreCase ( UP_COMMAND_STRING ) ) { release ( ) ; } else { return false ; } return true ; } return false ; }
attempt to handle this command string , if relevant .
