How do I dig in a java BSON Document with dots?
<p>I would like to do the following within java:</p>

<pre><code>org.bson.Document document = new Document("foo", new Document("foo2", "foo3");
System.out.println(document.get("foo.foo2"));
</code></pre>

<p>which would return 'foo3'</p>

<p>This is required for my mongodb java system. 
What would be the easiest way to achieve this behavior?</p>