|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.extrememessaging.ResponseMaster.eCategories
This class holds information about the categories
| Field Summary | |
static int |
DefaultCategory
The default category |
static int |
NotCategorized
The category returned if a rule did not match |
static int |
NUM_CATEGORIES
The number of categories |
| Constructor Summary | |
eCategories()
|
|
| Method Summary | |
static boolean |
FromIsOriginalToForCategory(int CategoryID)
Is the from address is the original to address for this category? |
static int |
GetCategoryIDFromName(java.lang.String CategoryName)
Looks up the id of the category from the name |
static java.lang.String |
GetCategoryNameFromID(int eCategory)
Looks up the name of the category from the id |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int NUM_CATEGORIES
public static int DefaultCategory
public static final int NotCategorized
| Constructor Detail |
public eCategories()
| Method Detail |
public static boolean FromIsOriginalToForCategory(int CategoryID)
public static int GetCategoryIDFromName(java.lang.String CategoryName)
throws InvalidCategoryName
CategoryName - The name of the category
An - InvalidCategoryName exception
is thrown if the category name is incorrect
InvalidCategoryNamepublic static java.lang.String GetCategoryNameFromID(int eCategory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||