code: private static Properties getProperties(String propText) throws Exception {
          Properties p = new Properties();
          if (propText != null) {
              p.load(new ByteArrayInputStream(propText.replace(';', '\n').getBytes()));
          }
          return p;
      }
docs: Parse properties from the string. Format of the string must be [propertyName=property;]*
  
  @param propText
  @return Properties
  @throws Exception