added java-doc to resource