Doing data preprocessing in Java.