Interface OpenUrlService
- All Known Implementing Classes:
OpenUrlServiceImpl
public interface OpenUrlService
The Service responsible for processing urls
-
Method Summary
Modifier and TypeMethodDescriptionvoidWill log the failed url in the databasevoidprocessUrl(Context c, String urlStr) Process the urlvoidreprocessFailedQueue(Context context) Will process all urls stored in the database and try contacting them again
-
Method Details
-
processUrl
Process the url- Parameters:
c- - the contexturlStr- - the url to be processed- Throws:
IOExceptionSQLException
-
reprocessFailedQueue
Will process all urls stored in the database and try contacting them again- Parameters:
context-- Throws:
SQLException
-
logfailed
Will log the failed url in the database- Parameters:
context-url-- Throws:
SQLException
-