Class CategoryConverter
- java.lang.Object
-
- net.thexcoders.aladin_bot_backend.converters.CategoryConverter
-
public class CategoryConverter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intBEST_FOODstatic intBEST_PLACEstatic intCONV_ENDstatic intCREATE_DATAstatic intEMERGENCYstatic intGREETINGSstatic intTIME_DATAstatic intUNKNOWN_CAT
-
Constructor Summary
Constructors Constructor Description CategoryConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intcategoryConverter(String lang)Converting the Category code to an Integer.
-
-
-
Field Detail
-
UNKNOWN_CAT
public static final int UNKNOWN_CAT
- See Also:
- Constant Field Values
-
GREETINGS
public static final int GREETINGS
- See Also:
- Constant Field Values
-
CONV_END
public static final int CONV_END
- See Also:
- Constant Field Values
-
EMERGENCY
public static final int EMERGENCY
- See Also:
- Constant Field Values
-
CREATE_DATA
public static final int CREATE_DATA
- See Also:
- Constant Field Values
-
TIME_DATA
public static final int TIME_DATA
- See Also:
- Constant Field Values
-
BEST_PLACE
public static final int BEST_PLACE
- See Also:
- Constant Field Values
-
BEST_FOOD
public static final int BEST_FOOD
- See Also:
- Constant Field Values
-
-
Method Detail
-
categoryConverter
public static int categoryConverter(String lang)
Converting the Category code to an Integer.- Parameters:
lang- String representing the category- Returns:
- Integer Code of the category
-
-