Ad format example.
Add javadoc.
Fix javadoc tags.
Add javadoc.
Close resource if nothing found.