aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/services/CsvService.java
blob: 6e4a06657c501fa5b6ae01dc6bf8f9e87b700014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.onap.vid.services;

import org.json.JSONObject;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface CsvService {
    List<String[]> readCsv(String filePath) throws IOException;
    JSONObject convertCsvToJson (List<String[]> myEntries) throws InstantiationException, IllegalAccessException;
    List<String[]> readCsv(MultipartFile file) throws IOException;

}