test_class.file: herd-code/herd-dao/src/test/java/org/finra/herd/dao/helper/JavaPropertiesHelperTest.java
test_class.identifier: JavaPropertiesHelperTest
test_class.superclass: extends AbstractDaoTest
test_case.body: @Test
      public void testGetPropertiesFromString()
      {
          Properties properties = javaPropertiesHelper.getProperties("foo=bar");
          Assert.assertEquals("properties value 'foo'", "bar", properties.get("foo"));
      }
test_case.class_method_signature: JavaPropertiesHelperTest.testGetPropertiesFromString()
test_case.full_signature: @Test public void testGetPropertiesFromString()
test_case.identifier: testGetPropertiesFromString
test_case.invocations: getProperties assertEquals get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetPropertiesFromString()
focal_class.file: herd-code/herd-dao/src/main/java/org/finra/herd/dao/helper/JavaPropertiesHelper.java
focal_class.identifier: JavaPropertiesHelper
focal_class.class_method_signature: JavaPropertiesHelper.toMap(Properties properties)
focal_class.full_signature: public Map<String, Object> toMap(Properties properties)
focal_class.identifier: toMap
focal_class.modifiers: public
focal_class.parameters: (Properties properties)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> toMap(Properties properties)
focal_class.class_method_signature: JavaPropertiesHelper.getProperties(String propertiesString)
focal_class.full_signature: public Properties getProperties(String propertiesString)
focal_class.identifier: getProperties
focal_class.modifiers: public
focal_class.parameters: (String propertiesString)
focal_class.return: Properties
focal_class.signature: Properties getProperties(String propertiesString)
focal_class.class_method_signature: JavaPropertiesHelper.getProperties(InputStream inputStream)
focal_class.full_signature: public Properties getProperties(InputStream inputStream)
focal_class.identifier: getProperties
focal_class.modifiers: public
focal_class.parameters: (InputStream inputStream)
focal_class.return: Properties
focal_class.signature: Properties getProperties(InputStream inputStream)
focal_method.body: public Properties getProperties(String propertiesString)
      {
          Properties properties = new Properties();
          StringReader reader = new StringReader(propertiesString);
          try
          {
              properties.load(reader);
          }
          catch (IOException e)
          {
              // This exception should normally not happen as there are not many cases in which a StringReader would throw an error.
              throw new IllegalArgumentException("Error loading properties from string reader. See cause for details.", e);
          }
          return properties;
      }
focal_method.class_method_signature: JavaPropertiesHelper.getProperties(String propertiesString)
focal_method.full_signature: public Properties getProperties(String propertiesString)
focal_method.identifier: getProperties
focal_method.invocations: load
focal_method.modifiers: public
focal_method.parameters: (String propertiesString)
focal_method.return: Properties
focal_method.signature: Properties getProperties(String propertiesString)