Validation Utility by Java.