Added public methods of DataHandler.java