public static Environment parse(String content) throws IOException {
		try {
			return new ConfigUtil.LowerCaseYamlMapper().readValue(content, Environment.class);
		} catch (JsonMappingException e) {
			throw new SqlClientException("Could not parse environment file. Cause: " + e.getMessage());
		}
	}
public static Environment parse ( String content ) throws IOException { try { return new ConfigUtil . LowerCaseYamlMapper ( ) . readValue ( content , Environment . class ) ; } catch ( JsonMappingException e ) { throw new SqlClientException ( "Could not parse environment file. Cause: " + e . getMessage ( ) ) ; } }
Parses an environment file from an String.