com.phideltcmu.recruiter.server.dao.mapper.CategoryRowMapper.java Source code

Java tutorial

Introduction

Here is the source code for com.phideltcmu.recruiter.server.dao.mapper.CategoryRowMapper.java

Source

/*
 * Copyright (c) 2013 Mathew Gray.
 * This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
 */

package com.phideltcmu.recruiter.server.dao.mapper;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class CategoryRowMapper implements RowMapper {

    @Override
    public Object mapRow(ResultSet rs, int line) throws SQLException {
        CategoryResultSetExtractor extractor = new CategoryResultSetExtractor();
        return extractor.extractData(rs);
    }

}