com.mongodb
Class MongoURI

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

public class MongoURI
extends java.lang.Object


Constructor Summary
MongoURI(java.lang.String uri)
          examples mongodb://localhost mongodb://fred:foobar@localhost/
 
Method Summary
 java.lang.String getCollection()
           
 java.lang.String getDatabase()
           
 java.util.List<java.lang.String> getHosts()
           
 char[] getPassword()
           
 java.lang.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(java.lang.String uri)
examples mongodb://localhost mongodb://fred:foobar@localhost/


MongoDB Doc Links
Method Detail

getUsername

public java.lang.String getUsername()

getPassword

public char[] getPassword()

getHosts

public java.util.List<java.lang.String> getHosts()

getDatabase

public java.lang.String getDatabase()

getCollection

public java.lang.String getCollection()