[LIB-13] Rename some common classes
[chesshog-scanner.git] / src / main / java / org / hedgecode / chess / scanner / Scanner.java
index 0192f2b..5188214 100644 (file)
@@ -26,12 +26,14 @@ import org.hedgecode.chess.scanner.entity.PGNTournament;
  */
 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 getGame(String gameId, String tournamentId) throws ChessHogScannerException;
+    PGNGame scanGame(String gameId, String tournamentId) throws ScannerException;
+
+    PGNGame scanUrl(String gameUrl) throws ScannerException;
 
 }