-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
decouple dataset extraction from dataset handling
- Loading branch information
Jorrit Poelen
committed
Jan 2, 2025
1 parent
747677c
commit abdd21c
Showing
4 changed files
with
43 additions
and
41 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
4 changes: 3 additions & 1 deletion
4
src/main/java/org/globalbioticinteractions/elton/cmd/LineHandler.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,8 +1,10 @@ | ||
package org.globalbioticinteractions.elton.cmd; | ||
|
||
import org.globalbioticinteractions.dataset.Dataset; | ||
|
||
import java.io.IOException; | ||
|
||
public interface LineHandler { | ||
|
||
boolean processLine(String line, boolean isFirstLine) throws IOException; | ||
Dataset extractDataset(String line, boolean isFirstLine) throws IOException; | ||
} |
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