How to count vowels and consonants in given string in Java?

How to count vowels and consonants in given string in Java?