Class EvcsLocationTypeUtils

java.lang.Object
edu.ie3.datamodel.models.input.system.type.evcslocation.EvcsLocationTypeUtils

public class EvcsLocationTypeUtils extends Object
Utility class providing tools to retrieve EvcsLocationTypes from string representation
  • Method Details

    • parse

      public static EvcsLocationType parse(String parsableString) throws ParsingException
      Parsing a location type string into one EvcsLocationType. 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