git.hedgecode.org
/
chesshog-scanner.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[LIB-13] Lazy scanners init, scan by URL and rename API functions
[chesshog-scanner.git]
/
src
/
main
/
java
/
org
/
hedgecode
/
chess
/
scanner
/
Scanner.java
diff --git
a/src/main/java/org/hedgecode/chess/scanner/Scanner.java
b/src/main/java/org/hedgecode/chess/scanner/Scanner.java
index
0192f2b
..
2c6095a
100644
(file)
--- a/
src/main/java/org/hedgecode/chess/scanner/Scanner.java
+++ b/
src/main/java/org/hedgecode/chess/scanner/Scanner.java
@@
-26,12
+26,14
@@
import org.hedgecode.chess.scanner.entity.PGNTournament;
*/
public interface Scanner {
*/
public interface Scanner {
- PGNTournament
get
Tournament(String tournamentId) throws ChessHogScannerException;
+ PGNTournament
scan
Tournament(String tournamentId) throws ChessHogScannerException;
PGNTournament findTournament(String tournamentName) throws ChessHogScannerException;
PGNTournament findTournament(String tournamentName) throws ChessHogScannerException;
- PGNGame
get
Game(String gameId) throws ChessHogScannerException;
+ PGNGame
scan
Game(String gameId) throws ChessHogScannerException;
- PGNGame getGame(String gameId, String tournamentId) throws ChessHogScannerException;
+ PGNGame scanGame(String gameId, String tournamentId) throws ChessHogScannerException;
+
+ PGNGame scanUrl(String gameUrl) throws ChessHogScannerException;
}
}