32 lines
748 B
Java
32 lines
748 B
Java
import java.io.BufferedReader;
|
|
import java.io.FileNotFoundException;
|
|
import java.io.FileReader;
|
|
import java.io.IOException;
|
|
|
|
public class Matrix {
|
|
public static void main(String[] args) {
|
|
|
|
}
|
|
|
|
public String[] importCSV(String file) {
|
|
String[] result = new String[100];
|
|
try {
|
|
BufferedReader br = new BufferedReader(new FileReader(file));
|
|
|
|
while (br.readLine() != null) {
|
|
result = br.readLine().trim().split(";");
|
|
}
|
|
|
|
br.close();
|
|
} catch (FileNotFoundException e) {
|
|
e.printStackTrace();
|
|
} catch (IOException e) {
|
|
e.printStackTrace();
|
|
}
|
|
return result;
|
|
}
|
|
|
|
public void printCSV() {
|
|
|
|
}
|
|
} |