*/
public interface Scanner {
- PGNTournament getTournament(String tournamentId) throws ChessHogScannerException;
+ PGNTournament scanTournament(String tournamentId) throws ScannerException;
- PGNTournament findTournament(String tournamentName) throws ChessHogScannerException;
+ PGNTournament findTournament(String tournamentName) throws ScannerException;
- PGNGame getGame(String gameId) throws ChessHogScannerException;
+ PGNGame scanGame(String gameId) throws ScannerException;
+
+ PGNGame scanGame(String gameId, String tournamentId) throws ScannerException;
+
+ PGNGame scanUrl(String gameUrl) throws ScannerException;
}