use Apache common lang lib.