Changeset 14327


Ignore:
Timestamp:
2007-08-07T09:49:33+12:00 (15 years ago)
Author:
qq6
Message:

clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/util/DerbyWrapper.java

    r14312 r14327  
    200200    } 
    201201   
    202     private void db2txt() throws SQLException{
     202    public void db2txt() throws SQLException{
    203203    UserQueryResult userQueryResult=new UserQueryResult(); 
    204204    String sql_list_all_user="select username, password, groups, accountstatus, comment from " + USERS ;
     
    232232        }
    233233    }
    234    
    235     public static void main(String[] args) throws SQLException{
    236     if (args.length!=1){
    237         System.out.println("The path of usersDB has to be given!");
    238         System.exit(0);
    239     }
    240     DerbyWrapper derbyWrapper=new DerbyWrapper(args[0]);
    241     derbyWrapper.db2txt();
    242     }
    243234}
Note: See TracChangeset for help on using the changeset viewer.