Merge "Merge from ECOMP's repository"
[vid.git] / vid-app-common / src / main / java / org / onap / vid / services / CsvService.java
1 package org.onap.vid.services;
2
3 import org.json.JSONObject;
4 import org.springframework.web.multipart.MultipartFile;
5
6 import java.io.IOException;
7 import java.util.List;
8
9 public interface CsvService {
10     List<String[]> readCsv(String filePath) throws IOException;
11     JSONObject convertCsvToJson (List<String[]> myEntries) throws InstantiationException, IllegalAccessException;
12     List<String[]> readCsv(MultipartFile file) throws IOException;
13
14 }