fr.etai.xat2v2.util
Class ActionUtil

java.lang.Object
  extended by fr.etai.xat2v2.util.ActionUtil

public final class ActionUtil
extends Object


Method Summary
static String[] getOptions(Action action)
          Returns action's options
static String getVerb(Action action)
          Gets the verb from the action
static boolean matchVerb(Action action, String verb)
          Checks if this action's verb is the one specified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

matchVerb

public static boolean matchVerb(Action action,
                                String verb)
Checks if this action's verb is the one specified

Parameters:
action -
verb -
Returns:

getOptions

public static String[] getOptions(Action action)
Returns action's options

Parameters:
action -
Returns:

getVerb

public static String getVerb(Action action)
Gets the verb from the action

Parameters:
action -
Returns:


Copyright © 2012. All Rights Reserved.