Changeset 33622

Show
Ignore:
Timestamp:
05.11.2019 15:42:46 (9 days ago)
Author:
ak19
Message:

File rename

Files:
1 moved

Legend:

Unmodified
Added
Removed
  • gs3-extensions/maori-lang-detection/src/org/greenstone/atea/MongoDBAccess.java

    r33616 r33622  
    1919 * TO COMPILE: 
    2020 *    maori-lang-detection/src$ 
    21  *       javac -cp ".:../conf:../lib/*" org/greenstone/atea/MongoDBConnection.java 
     21 *       javac -cp ".:../conf:../lib/*" org/greenstone/atea/MongoDBAccess.java 
    2222 * 
    2323 * TO RUN: 
    24  *       java -cp ".:../conf:../lib/*" org.greenstone.atea.MongoDBConnection 
     24 *       java -cp ".:../conf:../lib/*" org.greenstone.atea.MongoDBAccess 
    2525 */ 
    26 public class MongoDBConnection { 
     26public class MongoDBAccess { 
    2727 
    28     private static Logger logger = Logger.getLogger(org.greenstone.atea.MongoDBConnection.class.getName()); 
     28    private static Logger logger = Logger.getLogger(org.greenstone.atea.MongoDBAccess.class.getName()); 
    2929     
    3030    final static String HOST = "localhost"; 
     
    3737 
    3838 
    39     public MongoDBConnection() throws Exception { 
     39    public MongoDBAccess() throws Exception { 
    4040    boolean success = false; 
    4141     
     
    8686    public static void main(String args[]) { 
    8787    try { 
    88         MongoDBConnection mongodbCon = new MongoDBConnection(); 
     88        MongoDBAccess mongodbCon = new MongoDBAccess(); 
    8989        //mongodbCon.connectToDB(); 
    9090    }catch(Exception e) {