Changeset 33622 for gs3-extensions
- Timestamp:
- 2019-11-05T15:42:46+13:00 (4 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/maori-lang-detection/src/org/greenstone/atea/MongoDBAccess.java
r33616 r33622 19 19 * TO COMPILE: 20 20 * maori-lang-detection/src$ 21 * javac -cp ".:../conf:../lib/*" org/greenstone/atea/MongoDB Connection.java21 * javac -cp ".:../conf:../lib/*" org/greenstone/atea/MongoDBAccess.java 22 22 * 23 23 * TO RUN: 24 * java -cp ".:../conf:../lib/*" org.greenstone.atea.MongoDB Connection24 * java -cp ".:../conf:../lib/*" org.greenstone.atea.MongoDBAccess 25 25 */ 26 public class MongoDB Connection{26 public class MongoDBAccess { 27 27 28 private static Logger logger = Logger.getLogger(org.greenstone.atea.MongoDB Connection.class.getName());28 private static Logger logger = Logger.getLogger(org.greenstone.atea.MongoDBAccess.class.getName()); 29 29 30 30 final static String HOST = "localhost"; … … 37 37 38 38 39 public MongoDB Connection() throws Exception {39 public MongoDBAccess() throws Exception { 40 40 boolean success = false; 41 41 … … 86 86 public static void main(String args[]) { 87 87 try { 88 MongoDB Connection mongodbCon = new MongoDBConnection();88 MongoDBAccess mongodbCon = new MongoDBAccess(); 89 89 //mongodbCon.connectToDB(); 90 90 }catch(Exception e) {
Note:
See TracChangeset
for help on using the changeset viewer.