1 5 6 package jena; 7 8 11 24 25 public class dbremove extends DBcmd 26 { 27 public static final String [] usage = new String [] 28 { 29 "dbremove [--spec spec] | [db_description] [--model name]" , 30 " where db_description is" , 31 " --db JDBC URL --dbType type" , 32 " --dbUser user --dbPassword password" 33 } ; 34 35 public static void main(String [] args) 36 { 37 dbremove db = new dbremove(); 38 db.setUsage(usage) ; 39 db.init(args); 40 db.exec(); 41 } 42 43 public dbremove() 44 { 45 super("dbremove", false); 46 } 47 48 protected void exec0() 49 { 50 getRDBModel().remove() ; 51 } 52 53 protected boolean exec1(String arg) { return false ; } 54 } 55 56 57 58 84 | Popular Tags |