// Init default values:
// Default database backend
BaseFrameworkSystem.properties.put("org.mxchange.database.backend.class", "org.mxchange.jcore.database.backend.base64.Base64CsvDatabaseBackend"); //NOI18N
- BaseFrameworkSystem.properties.put("database.backend.storagepath", "data");
+ BaseFrameworkSystem.properties.put("database.backend.storagepath", "data"); //NOI18N
// For MySQL backend
BaseFrameworkSystem.properties.put("org.mxchange.database.mysql.host", "localhost"); //NOI18N
}
// Debug message
- this.getLogger().debug(MessageFormat.format("Calling getValueFromColumn({0}) on instance {1} ...", field.getName(), instance));
+ this.getLogger().debug(MessageFormat.format("Calling getValueFromColumn({0}) on instance {1} ...", field.getName(), instance)); //NOI18N
// Get value from it
Object value = instance.getValueFromColumn(field.getName());
*/
protected void setProperty (final String key, final String value) {
// Trace message
- this.getLogger().trace(MessageFormat.format("key={0},value={1} - CALLED!", key, value));
+ this.getLogger().trace(MessageFormat.format("key={0},value={1} - CALLED!", key, value)); //NOI18N
// Set it
- properties.setProperty(String.format("org.mxchange.%s", key), value);
+ properties.setProperty(String.format("org.mxchange.%s", key), value); //NOI18N
// Trace message
- this.getLogger().trace("EXIT!");
+ this.getLogger().trace("EXIT!"); //NOI18N
}
/**
protected String[] getPropertyNames () {
// Init array
String[] names = {
- "database.backend.class",
- "database.backend.storagepath",
- "database.mysql.login",
- "database.mysql.host",
- "database.mysql.password",
- "database.mysql.dbname",
+ "database.backend.class", //NOI18N
+ "database.backend.storagepath", //NOI18N
+ "database.mysql.login", //NOI18N
+ "database.mysql.host", //NOI18N
+ "database.mysql.password", //NOI18N
+ "database.mysql.dbname", //NOI18N
};
// Return it