com.mongodb
Class MongoURI

java.lang.Object
  extended by com.mongodb.MongoURI

public class MongoURI
extends Object


Constructor Summary
MongoURI(String uri)
          examples mongodb://localhost mongodb://fred:foobar@localhost/
 
Method Summary
 String getCollection()
           
 String getDatabase()
           
 List<String> getHosts()
           
 char[] getPassword()
           
 String getUsername()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MongoURI

public MongoURI(String uri)
examples mongodb://localhost mongodb://fred:foobar@localhost/


MongoDB Doc Links
Method Detail

getUsername

public String getUsername()

getPassword

public char[] getPassword()

getHosts

public List<String> getHosts()

getDatabase

public String getDatabase()

getCollection

public String getCollection()