Class EvcsLocationTypeUtils
java.lang.Object
edu.ie3.datamodel.models.input.system.type.evcslocation.EvcsLocationTypeUtils
Utility class providing tools to retrieve
EvcsLocationType
s from string representation-
Method Summary
Modifier and TypeMethodDescriptionstatic EvcsLocationType
Parsing a location type string into oneEvcsLocationType
.
-
Method Details
-
parse
Parsing a location type string into oneEvcsLocationType
. Matching the string is case-insensitive and all - and _ are removed. Throws exception, if type does not exist.- Parameters:
parsableString
- string to parse- Returns:
- corresponding EvcsLocationType
- Throws:
ParsingException
- if string does not represent a location type
-