code: public static Properties toProperties(String properString) throws java.io.IOException {
          Properties p = new Properties();
  
          p.load(new java.io.ByteArrayInputStream(properString.replaceAll(";", EOLN).getBytes()));
  
          return p;
      }
docs: Converts a String to a Properties object using the load method on java.util.Properties.
  A semicolon (;) may be used in place of the end-of-line character to delimit property
  entries.
  
  @param properString the String to convert to a Properties object.
  
  @return the resulting Properties object.
  
  @throws IOException if an error occurs reading the String.