Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
8ba148617a
commit
17e5625315
@ -84,6 +84,15 @@
|
|||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>3.0.2</version>
|
<version>3.0.2</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
<configuration>
|
||||||
|
<source>1.8</source>
|
||||||
|
<target>1.8</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.0</version>
|
<version>3.8.0</version>
|
||||||
|
@ -11,6 +11,10 @@ import org.apache.poi.ss.usermodel.Cell;
|
|||||||
import org.apache.poi.ss.usermodel.Row;
|
import org.apache.poi.ss.usermodel.Row;
|
||||||
import com.plannaplan.models.FileData;
|
import com.plannaplan.models.FileData;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dupa dupa dupd
|
||||||
|
*/
|
||||||
|
|
||||||
public class FileReader {
|
public class FileReader {
|
||||||
|
|
||||||
private InputStream fileInputStream;
|
private InputStream fileInputStream;
|
||||||
@ -22,7 +26,7 @@ public class FileReader {
|
|||||||
public FileData read() {
|
public FileData read() {
|
||||||
|
|
||||||
FileData result = null;
|
FileData result = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
InputStream fis = this.fileInputStream;
|
InputStream fis = this.fileInputStream;
|
||||||
XSSFWorkbook workbook = new XSSFWorkbook(fis);
|
XSSFWorkbook workbook = new XSSFWorkbook(fis);
|
||||||
@ -53,4 +57,4 @@ public class FileReader {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user