test_class.declarator: fileInClass = "/conf.properties"
test_class.modifier: private
test_class.original_string: private String fileInClass = "/conf.properties";
test_class.type: String
test_class.var_name: fileInClass
test_class.file: dddlib-configuration/src/test/java/org/dayatang/configuration/impl/ConfigurationFileImplTest.java
test_class.identifier: ConfigurationFileImplTest
test_class.superclass: extends AbstractConfigurationTest
test_case.body: @Test
  	public void testSave() {
  		instance.setString("xyz", "yyyy-MM-dd");
  		((ConfigurationFileImpl)instance).save();
  		String fileName = getClass().getResource(fileInClass).getFile();
  		instance = new ConfigurationFileImpl(new File(fileName));
  		assertEquals("yyyy-MM-dd", instance.getString("xyz"));
  	}
test_case.class_method_signature: ConfigurationFileImplTest.testSave()
test_case.full_signature: @Test public void testSave()
test_case.identifier: testSave
test_case.invocations: setString save getFile getResource getClass assertEquals getString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSave()
focal_class.declarator: LOGGER = Slf4JLogger.getLogger(ConfigurationFileImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Slf4JLogger LOGGER = Slf4JLogger.getLogger(ConfigurationFileImpl.class);
focal_class.type: Slf4JLogger
focal_class.var_name: LOGGER
focal_class.declarator: pfu = new PropertiesFileUtils("utf-8")
focal_class.modifier: private
focal_class.original_string: private PropertiesFileUtils pfu = new PropertiesFileUtils("utf-8");
focal_class.type: PropertiesFileUtils
focal_class.var_name: pfu
focal_class.declarator: file
focal_class.modifier: private
focal_class.original_string: private File file;
focal_class.type: File
focal_class.var_name: file
focal_class.file: dddlib-configuration/src/main/java/org/dayatang/configuration/impl/ConfigurationFileImpl.java
focal_class.identifier: ConfigurationFileImpl
focal_class.interfaces: implements WritableConfiguration
focal_class.class_method_signature: ConfigurationFileImpl.fromFile(final File file)
focal_class.full_signature: public static ConfigurationFileImpl fromFile(final File file)
focal_class.identifier: fromFile
focal_class.modifiers: public static
focal_class.parameters: (final File file)
focal_class.return: ConfigurationFileImpl
focal_class.signature: ConfigurationFileImpl fromFile(final File file)
focal_class.class_method_signature: ConfigurationFileImpl.ConfigurationFileImpl(final String pathname)
focal_class.full_signature: public  ConfigurationFileImpl(final String pathname)
focal_class.identifier: ConfigurationFileImpl
focal_class.modifiers: public
focal_class.parameters: (final String pathname)
focal_class.signature:  ConfigurationFileImpl(final String pathname)
focal_class.class_method_signature: ConfigurationFileImpl.ConfigurationFileImpl(final String dirPath, final String fileName)
focal_class.full_signature: public  ConfigurationFileImpl(final String dirPath, final String fileName)
focal_class.identifier: ConfigurationFileImpl
focal_class.modifiers: public
focal_class.parameters: (final String dirPath, final String fileName)
focal_class.signature:  ConfigurationFileImpl(final String dirPath, final String fileName)
focal_class.class_method_signature: ConfigurationFileImpl.ConfigurationFileImpl(final File file)
focal_class.full_signature: public  ConfigurationFileImpl(final File file)
focal_class.identifier: ConfigurationFileImpl
focal_class.modifiers: public
focal_class.parameters: (final File file)
focal_class.signature:  ConfigurationFileImpl(final File file)
focal_class.class_method_signature: ConfigurationFileImpl.load()
focal_class.full_signature: @Override public void load()
focal_class.identifier: load
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void load()
focal_class.class_method_signature: ConfigurationFileImpl.save()
focal_class.full_signature: @Override public void save()
focal_class.identifier: save
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void save()
focal_class.class_method_signature: ConfigurationFileImpl.store(Properties props, BufferedWriter out, String comments)
focal_class.full_signature: private void store(Properties props, BufferedWriter out, String comments)
focal_class.identifier: store
focal_class.modifiers: private
focal_class.parameters: (Properties props, BufferedWriter out, String comments)
focal_class.return: void
focal_class.signature: void store(Properties props, BufferedWriter out, String comments)
focal_class.class_method_signature: ConfigurationFileImpl.convertString(String theString, boolean escapeSpace)
focal_class.full_signature: private String convertString(String theString, boolean escapeSpace)
focal_class.identifier: convertString
focal_class.modifiers: private
focal_class.parameters: (String theString, boolean escapeSpace)
focal_class.return: String
focal_class.signature: String convertString(String theString, boolean escapeSpace)
focal_class.class_method_signature: ConfigurationFileImpl.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.superclass: extends AbstractConfiguration
focal_method.body: @Override
  	public void save() {
  		BufferedWriter out = null;
  		try {
  			out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), PropertiesFileUtils.ISO_8859_1));
  			store(getProperties(), out, "Config file for " + file);
  		} catch (Exception e) {
  			throw new ConfigurationException(e);
  		} finally {
  			if (out != null) {
  				try {
  					out.close();
  				} catch (IOException e) {
  					throw new ConfigurationException("Cannot close input stream.", e);
  				}
  			}
  		}
  	}
focal_method.class_method_signature: ConfigurationFileImpl.save()
focal_method.full_signature: @Override public void save()
focal_method.identifier: save
focal_method.invocations: store getProperties close
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void save()