*/
public interface Scanner {
- PGNTournament getTournament(String tournamentId) throws ChessHogScannerException;
+ PGNTournament scanTournament(String tournamentId) throws ChessHogScannerException;
PGNTournament findTournament(String tournamentName) throws ChessHogScannerException;
- PGNGame getGame(String gameId) throws ChessHogScannerException;
+ PGNGame scanGame(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;
}