JTrim is a multipurpose library written in Java.