<commit_before>/*
 * (c) Copyright 2003, 2004, 2005 Hewlett-Packard Development Company, LP
 * [See end of file]
 */

 
package jena;
import jena.cmdline.* ;
import com.hp.hpl.jena.db.* ;
//import com.hp.hpl.jena.rdf.model.* ;
import java.util.* ;
 
/** Framework for the database commands.
 * 
 * @author <NAME>
 * @version $Id: DBcmd.java,v 1.9 2005-12-26 18:43:11 andy_seaborne Exp $
 */ 
 
abstract class DBcmd
{
    // Standardised names.
    protected final ArgDecl argDeclDbURL       = new ArgDecl(true, "db");
    protected final ArgDecl argDeclDbType      = new ArgDecl(true, "dbType");
    protected final ArgDecl argDeclDbUser      = new ArgDecl(true, "dbUser", "user");
    protected final ArgDecl argDeclDbPassword  = new ArgDecl(true, "dbPassword", "password", "pw");
    protected final ArgDecl argDeclModelName   = new ArgDecl(true, "model");
    protected final ArgDecl argDeclDbDriver    = new ArgDecl(true, "driver");

    protected final ArgDecl argDeclVerbose     = new ArgDecl(false, "v", "verbose");
    protected boolean verbose = false ;

    protected final ArgDecl argDeclDebug       = new ArgDecl(false, "debug");
    protected boolean debug = false ;

    protected final ArgDecl argDeclHelp        = new ArgDecl(false, "help", "h");<commit_msg>Make DBcmd public so it can be used as a basis for other commands.<commit_after>/*
 * (c) Copyright 2003, 2004, 2005 Hewlett-Packard Development Company, LP
 * [See end of file]
 */

 
package jena;
import jena.cmdline.* ;
import com.hp.hpl.jena.db.* ;
//import com.hp.hpl.jena.rdf.model.* ;
import java.util.* ;
 
/** Framework for the database commands.
 * 
 * @author <NAME>
 * @version $Id: DBcmd.java,v 1.10 2006-01-20 23:21:19 andy_seaborne Exp $
 */ 
 
public abstract class DBcmd
{
    // Standardised names.
    protected final ArgDecl argDeclDbURL       = new ArgDecl(true, "db");
    protected final ArgDecl argDeclDbType      = new ArgDecl(true, "dbType");
    protected final ArgDecl argDeclDbUser      = new ArgDecl(true, "dbUser", "user");
    protected final ArgDecl argDeclDbPassword  = new ArgDecl(true, "dbPassword", "password", "pw");
    protected final ArgDecl argDeclModelName   = new ArgDecl(true, "model");
    protected final ArgDecl argDeclDbDriver    = new ArgDecl(true, "driver");

    protected final ArgDecl argDeclVerbose     = new ArgDecl(false, "v", "verbose");
    protected boolean verbose = false ;

    protected final ArgDecl argDeclDebug       = new ArgDecl(false, "debug");
    protected boolean debug = false ;

    protected final ArgDecl argDeclHelp        = new ArgDecl(false, "help", "h");
{'fraction_non_alphanumeric': 0.11690302798006899, 'fraction_numerical': 0.02184745113070142, 'mean_word_length': 3.484536082474227, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '309867', 'n_tokens_mistral': 859, 'n_tokens_neox': 787, 'n_words': 253}