normalizeTableName method
Normalizes table into a safe directory/prefix name (non-word
characters replaced by _).
Implementation
@protected
String normalizeTableName(String table) {
table = table.trim().replaceAll(_regExpNormalizeTableNonWord, '_');
if (table.isEmpty) {
throw StateError("Empty table name.");
}
return table;
}