- java.lang.Object
-
- util.SchoolEnumUtil
-
public class SchoolEnumUtil extends java.lang.Object
TheSchoolEnumUtil
provides utility functions for schools that camps are able to participate in
-
-
Constructor Summary
Constructors Constructor Description SchoolEnumUtil()
Construct an instance ofSchoolEnumUtil
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<Schools>
allSchools()
Return a list of schoolsstatic Schools
convertToEnum(java.lang.String input)
Get a string input which can be converted to School enum variable
-
-
-
Constructor Detail
-
SchoolEnumUtil
public SchoolEnumUtil()
Construct an instance ofSchoolEnumUtil
-
-
Method Detail
-
convertToEnum
public static Schools convertToEnum(java.lang.String input)
Get a string input which can be converted to School enum variable- Parameters:
input
- the string input of the school from csv file- Returns:
- the school enum variable for code
-
allSchools
public static java.util.List<Schools> allSchools()
Return a list of schools- Returns:
- all the schools that exists in NTU
-
-