docs: public void write(final ResultSet resultSet) throws SQLException, IOException {
  		if( resultSet == null ) {
  			throw new NullPointerException("ResultSet cannot be null");
  		}
  		
  		writeHeaders(resultSet); // increments row and line number
  		writeContents(resultSet); // increments row and line number before writing of each row
  	}