test_class.declarator: instance
test_class.modifier: protected
test_class.original_string: protected AbstractConfiguration instance;
test_class.type: AbstractConfiguration
test_class.var_name: instance
test_class.file: dddlib-configuration/src/test/java/org/dayatang/configuration/impl/AbstractConfigurationTest.java
test_class.identifier: AbstractConfigurationTest
test_case.body: @Test
  	public void testGetStringString() {
  		assertEquals("yyyy-M-d", instance.getString("date.format"));
  		assertEquals("", instance.getString("format"));
  		assertEquals("张三", instance.getString("name"));
  	}
test_case.class_method_signature: AbstractConfigurationTest.testGetStringString()
test_case.full_signature: @Test public void testGetStringString()
test_case.identifier: testGetStringString
test_case.invocations: assertEquals getString assertEquals getString assertEquals tring("na
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetStringString()
focal_class.declarator: dateFormat = "yyyy-MM-dd"
focal_class.modifier: private
focal_class.original_string: private String dateFormat = "yyyy-MM-dd";
focal_class.type: String
focal_class.var_name: dateFormat
focal_class.declarator: prefix = ""
focal_class.modifier: private
focal_class.original_string: private String prefix = "";
focal_class.type: String
focal_class.var_name: prefix
focal_class.declarator: DATE_FORMAT_KEY = "DATE_FORMAT"
focal_class.modifier: private static final
focal_class.original_string: private static final String DATE_FORMAT_KEY = "DATE_FORMAT";
focal_class.type: String
focal_class.var_name: DATE_FORMAT_KEY
focal_class.declarator: hTable
focal_class.modifier: protected
focal_class.original_string: protected Hashtable<String, String> hTable;
focal_class.type: Hashtable<String, String>
focal_class.var_name: hTable
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: serializer = new GsonSerializerBuilder().build()
focal_class.modifier: private
focal_class.original_string: private ObjectSerializer serializer = new GsonSerializerBuilder().build();
focal_class.type: ObjectSerializer
focal_class.var_name: serializer
focal_class.file: dddlib-configuration/src/main/java/org/dayatang/configuration/impl/AbstractConfiguration.java
focal_class.identifier: AbstractConfiguration
focal_class.interfaces: implements Configuration
focal_class.class_method_signature: AbstractConfiguration.getDateFormat()
focal_class.full_signature: public String getDateFormat()
focal_class.identifier: getDateFormat
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDateFormat()
focal_class.class_method_signature: AbstractConfiguration.setDateFormat(String dateFormat)
focal_class.full_signature: public void setDateFormat(String dateFormat)
focal_class.identifier: setDateFormat
focal_class.modifiers: public
focal_class.parameters: (String dateFormat)
focal_class.return: void
focal_class.signature: void setDateFormat(String dateFormat)
focal_class.class_method_signature: AbstractConfiguration.usePrefix(final String prefix)
focal_class.full_signature: public void usePrefix(final String prefix)
focal_class.identifier: usePrefix
focal_class.modifiers: public
focal_class.parameters: (final String prefix)
focal_class.return: void
focal_class.signature: void usePrefix(final String prefix)
focal_class.class_method_signature: AbstractConfiguration.getString(String key, String defaultValue)
focal_class.full_signature: @Override public String getString(String key, String defaultValue)
focal_class.identifier: getString
focal_class.modifiers: @Override public
focal_class.parameters: (String key, String defaultValue)
focal_class.return: String
focal_class.signature: String getString(String key, String defaultValue)
focal_class.class_method_signature: AbstractConfiguration.getString(String key)
focal_class.full_signature: @Override public String getString(String key)
focal_class.identifier: getString
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String getString(String key)
focal_class.class_method_signature: AbstractConfiguration.setString(String key, String value)
focal_class.full_signature: @Override public void setString(String key, String value)
focal_class.identifier: setString
focal_class.modifiers: @Override public
focal_class.parameters: (String key, String value)
focal_class.return: void
focal_class.signature: void setString(String key, String value)
focal_class.class_method_signature: AbstractConfiguration.getInt(String key, int defaultValue)
focal_class.full_signature: @Override public int getInt(String key, int defaultValue)
focal_class.identifier: getInt
focal_class.modifiers: @Override public
focal_class.parameters: (String key, int defaultValue)
focal_class.return: int
focal_class.signature: int getInt(String key, int defaultValue)
focal_class.class_method_signature: AbstractConfiguration.getInt(String key)
focal_class.full_signature: @Override public int getInt(String key)
focal_class.identifier: getInt
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: int
focal_class.signature: int getInt(String key)
focal_class.class_method_signature: AbstractConfiguration.setInt(String key, int value)
focal_class.full_signature: @Override public void setInt(String key, int value)
focal_class.identifier: setInt
focal_class.modifiers: @Override public
focal_class.parameters: (String key, int value)
focal_class.return: void
focal_class.signature: void setInt(String key, int value)
focal_class.class_method_signature: AbstractConfiguration.getLong(String key, long defaultValue)
focal_class.full_signature: @Override public long getLong(String key, long defaultValue)
focal_class.identifier: getLong
focal_class.modifiers: @Override public
focal_class.parameters: (String key, long defaultValue)
focal_class.return: long
focal_class.signature: long getLong(String key, long defaultValue)
focal_class.class_method_signature: AbstractConfiguration.getLong(String key)
focal_class.full_signature: @Override public long getLong(String key)
focal_class.identifier: getLong
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: long
focal_class.signature: long getLong(String key)
focal_class.class_method_signature: AbstractConfiguration.setLong(String key, long value)
focal_class.full_signature: @Override public void setLong(String key, long value)
focal_class.identifier: setLong
focal_class.modifiers: @Override public
focal_class.parameters: (String key, long value)
focal_class.return: void
focal_class.signature: void setLong(String key, long value)
focal_class.class_method_signature: AbstractConfiguration.getDouble(String key, double defaultValue)
focal_class.full_signature: @Override public double getDouble(String key, double defaultValue)
focal_class.identifier: getDouble
focal_class.modifiers: @Override public
focal_class.parameters: (String key, double defaultValue)
focal_class.return: double
focal_class.signature: double getDouble(String key, double defaultValue)
focal_class.class_method_signature: AbstractConfiguration.getDouble(String key)
focal_class.full_signature: @Override public double getDouble(String key)
focal_class.identifier: getDouble
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: double
focal_class.signature: double getDouble(String key)
focal_class.class_method_signature: AbstractConfiguration.setDouble(String key, double value)
focal_class.full_signature: @Override public void setDouble(String key, double value)
focal_class.identifier: setDouble
focal_class.modifiers: @Override public
focal_class.parameters: (String key, double value)
focal_class.return: void
focal_class.signature: void setDouble(String key, double value)
focal_class.class_method_signature: AbstractConfiguration.getBoolean(String key, boolean defaultValue)
focal_class.full_signature: @Override public boolean getBoolean(String key, boolean defaultValue)
focal_class.identifier: getBoolean
focal_class.modifiers: @Override public
focal_class.parameters: (String key, boolean defaultValue)
focal_class.return: boolean
focal_class.signature: boolean getBoolean(String key, boolean defaultValue)
focal_class.class_method_signature: AbstractConfiguration.getBoolean(String key)
focal_class.full_signature: @Override public boolean getBoolean(String key)
focal_class.identifier: getBoolean
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: boolean
focal_class.signature: boolean getBoolean(String key)
focal_class.class_method_signature: AbstractConfiguration.setBoolean(String key, boolean value)
focal_class.full_signature: @Override public void setBoolean(String key, boolean value)
focal_class.identifier: setBoolean
focal_class.modifiers: @Override public
focal_class.parameters: (String key, boolean value)
focal_class.return: void
focal_class.signature: void setBoolean(String key, boolean value)
focal_class.class_method_signature: AbstractConfiguration.getDate(String key, Date defaultValue)
focal_class.full_signature: @Override public Date getDate(String key, Date defaultValue)
focal_class.identifier: getDate
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Date defaultValue)
focal_class.return: Date
focal_class.signature: Date getDate(String key, Date defaultValue)
focal_class.class_method_signature: AbstractConfiguration.getDate(String key)
focal_class.full_signature: @Override public Date getDate(String key)
focal_class.identifier: getDate
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: Date
focal_class.signature: Date getDate(String key)
focal_class.class_method_signature: AbstractConfiguration.setDate(String key, Date value)
focal_class.full_signature: @Override public void setDate(String key, Date value)
focal_class.identifier: setDate
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Date value)
focal_class.return: void
focal_class.signature: void setDate(String key, Date value)
focal_class.class_method_signature: AbstractConfiguration.getObject(String key, Class<T> objectClass, T defaultValue)
focal_class.full_signature: @Override public T getObject(String key, Class<T> objectClass, T defaultValue)
focal_class.identifier: getObject
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Class<T> objectClass, T defaultValue)
focal_class.return: T
focal_class.signature: T getObject(String key, Class<T> objectClass, T defaultValue)
focal_class.class_method_signature: AbstractConfiguration.getObject(String key, Class<T> objectClass)
focal_class.full_signature: @Override public T getObject(String key, Class<T> objectClass)
focal_class.identifier: getObject
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Class<T> objectClass)
focal_class.return: T
focal_class.signature: T getObject(String key, Class<T> objectClass)
focal_class.class_method_signature: AbstractConfiguration.setObject(String key, Object value)
focal_class.full_signature: @Override public void setObject(String key, Object value)
focal_class.identifier: setObject
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Object value)
focal_class.return: void
focal_class.signature: void setObject(String key, Object value)
focal_class.class_method_signature: AbstractConfiguration.getProperties()
focal_class.full_signature: @Override public Properties getProperties()
focal_class.identifier: getProperties
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Properties
focal_class.signature: Properties getProperties()
focal_class.class_method_signature: AbstractConfiguration.getHashtable()
focal_class.full_signature: private Hashtable<String, String> getHashtable()
focal_class.identifier: getHashtable
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Hashtable<String, String>
focal_class.signature: Hashtable<String, String> getHashtable()
focal_method.body: @Override
  	public String getString(String key, String defaultValue) {
  		Assert.notBlank(key, "Key is null or empty!");
  		String result = getHashtable().get(key);
  		if (result == null) {
  			result = (String) getHashtable().get(prefix + key);
  		}
  		return result == null ? defaultValue : result;
  	}
focal_method.class_method_signature: AbstractConfiguration.getString(String key, String defaultValue)
focal_method.full_signature: @Override public String getString(String key, String defaultValue)
focal_method.identifier: getString
focal_method.invocations: notBlank get getHashtable get getHashtable
focal_method.modifiers: @Override public
focal_method.parameters: (String key, String defaultValue)
focal_method.return: String
focal_method.signature: String getString(String key, String defaultValue)