<commit_before>/*  Copyright (C) 2003-2015 JabRef contributors.
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General public static License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General public static License for more details.

    You should have received a copy of the GNU General public static License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

package net.sf.jabref.sql.exporter;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

import net.sf.jabref.model.entry.IdGenerator;
import net.sf.jabref.sql.DBStrings;
import net.sf.jabref.sql.SQLUtil;

/**
 *
 * @author ifsteinm.
 *
 *  Jan 20th	Extends DBExporter to provide features specific for PostgreSQL
 *  			Created after a refactory on SQLUtil
 *
 */
public class PostgreSQLExporter extends DBExporter {

    private static PostgreSQLExporter instance;


    private PostgreSQLExporter() {
    }

    /**
     *
     * @return The singleton instance of the PostgreSQLExporter
     */
    public static PostgreSQLExporter getInstance() {
        if (PostgreSQLExporter.instance == null) {
            PostgreSQLExporter.instance = new PostgreSQLExporter();
        }<commit_msg>Remove depreacted class header in PostgreSQLExporter<commit_after>/*  Copyright (C) 2003-2015 JabRef contributors.
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General public static License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General public static License for more details.

    You should have received a copy of the GNU General public static License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

package net.sf.jabref.sql.exporter;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

import net.sf.jabref.model.entry.IdGenerator;
import net.sf.jabref.sql.DBStrings;
import net.sf.jabref.sql.SQLUtil;

public class PostgreSQLExporter extends DBExporter {

    private static PostgreSQLExporter instance;


    private PostgreSQLExporter() {
    }

    /**
     *
     * @return The singleton instance of the PostgreSQLExporter
     */
    public static PostgreSQLExporter getInstance() {
        if (PostgreSQLExporter.instance == null) {
            PostgreSQLExporter.instance = new PostgreSQLExporter();
        }
{'fraction_non_alphanumeric': 0.06324472960586618, 'fraction_numerical': 0.012832263978001834, 'mean_word_length': 3.478796169630643, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3522281', 'n_tokens_mistral': 921, 'n_tokens_neox': 863, 'n_words': 359}