Package com.plannaplan.configutils
Class FileReader
java.lang.Object
com.plannaplan.configutils.FileReader
public class FileReader
extends java.lang.Object
FileReader is used for reading xls file from input stream.
-
Constructor Summary
Constructors Constructor Description FileReader(java.io.InputStream fileInputStream)
-
Method Summary
-
Constructor Details
-
FileReader
public FileReader(java.io.InputStream fileInputStream)- Parameters:
fileInputStream
- stream of stadarized file contains courses and gropups to import. File needs to be .xlsx file that has fields: zaj_cyk_id, typ, sym, nazwa, gr_nr, Mc, dzien, godz_od, sala, tytul, nazwisko, imie. Order doesn't have impact on import. Any change name of given field can be performed in FileToDatabaseMigrator class
-
-
Method Details
-
read
read data rom file- Returns:
- instance of class FileData
-