How to check whether given String contains only digits in Java?

How to check whether given String contains only digits in Java?