2
* $Id: PgDiffUtils.java 80 2007-09-01 20:25:45Z fordfrog $
4
package cz.startnet.utils.pgdiff;
7
* Utilities for creation of diffs.
10
* @version $Id: PgDiffUtils.java 80 2007-09-01 20:25:45Z fordfrog $
12
public class PgDiffUtils {
14
* Creates a new PgDiffUtils object.
16
private PgDiffUtils() {
21
* If <code>quoteName</code> is true then returns quoted name
22
* otherwise returns the original name.
25
* @param quoteName whether the name should be quoted
27
* @return if <code>quoteName</code> is true then returns quoted name
28
* otherwise returns the original name
30
public static String getQuotedName(
32
final boolean quoteName) {
33
return quoteName ? ("\"" + name + "\"") : name;