Any Java API for character encoding recognition

Hi,I am wondering if there are any Java API for identifying the character encoding of a text content. I came across NGramJ but not enough documentation to integrate with my application. Any help would be appreciated.Thanks.
[251 byte] By [emailGala] at [2007-11-27 5:43:16]
# 1
Cross-posted here: http://forum.java.sun.com/thread.jspa?threadID=5177401&messageID=9686402#9686402
DrClapa at 2007-7-12 15:22:42 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...