Revert "Added StringUtil, and update java doc. "

This reverts commit 00e979dbfcf871aa67b1110b2084c7fcf35a93e9.