1 package org.kuali.mobility.util.mapper;
2
3 import java.io.IOException;
4 import java.net.URL;
5
6 public interface DataMapper {
7
8 public <B extends Object> B mapData(B responseObject, final URL source, final String mappingFile, String listName) throws ClassNotFoundException, IOException;
9
10 public <B extends Object> B mapData(B responseObject, final URL source, final URL mappingFileUrl, String listName) throws ClassNotFoundException, IOException;
11
12 public <B extends Object> B mapData(B responseObject, final String dataFile, final String mappingFile, String listName) throws ClassNotFoundException;
13
14 public <B extends Object> B mapData(B responseObject, final URL source, final String mappingFile) throws ClassNotFoundException, IOException;
15
16 public <B extends Object> B mapData(B responseObject, final URL source, final URL mappingFileUrl) throws ClassNotFoundException, IOException;
17
18 public <B extends Object> B mapData(B responseObject, final String dataFile, final String mappingFile) throws ClassNotFoundException;
19
20 }