-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e446fdc
commit 52ee716
Showing
5 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
...gg/common/core/block/data/ICsvReader.java → ...va/zingg/common/core/util/ICsvReader.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
package zingg.common.core.block.data; | ||
package zingg.common.core.util; | ||
|
||
import zingg.common.core.util.IFromCsv; | ||
import java.io.FileNotFoundException; | ||
import java.util.List; | ||
|
||
public interface ICsvReader extends DataReader { | ||
public interface ICsvReader extends IDataReader { | ||
List<? extends IFromCsv> getRecords(String file, boolean skipHeader) throws FileNotFoundException; | ||
} |
4 changes: 2 additions & 2 deletions
4
...gg/common/core/block/data/DataReader.java → ...a/zingg/common/core/util/IDataReader.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package zingg.common.core.block.data; | ||
package zingg.common.core.util; | ||
|
||
import com.opencsv.exceptions.CsvException; | ||
|
||
import java.io.IOException; | ||
import java.net.URISyntaxException; | ||
import java.util.List; | ||
|
||
public interface DataReader { | ||
public interface IDataReader { | ||
List<String[]> readDataFromSource(String source) throws IOException, CsvException, URISyntaxException; | ||
} |