Package org.ctan.site.services.postings
Class PostingsService
java.lang.Object
org.ctan.site.services.postings.PostingCache
org.ctan.site.services.postings.PostingsService
This class provides a service to read and watch the mailings on a local
mailman mailing list (like ctan-ann).
-
Constructor Summary
ConstructorsConstructorDescriptionPostingsService(@NonNull String base) This is the constructor for the classPostingsService. -
Method Summary
Modifier and TypeMethodDescriptionorg.ctan.site.services.postings.PostingsService.PostingsThreadstart()This method starts the processing right after the service has been constructed.Methods inherited from class org.ctan.site.services.postings.PostingCache
get, getBase, hasPostingForPackage, isEmpty, listByDate, listByPackage, listNewest, listNewest, listPaged, packages, size, summaryCountByPkg, total, update
-
Constructor Details
-
PostingsService
This is the constructor for the classPostingsService.- Parameters:
base- the base directory to scan- Throws:
IOException- in case of an I/O errorFileNotFoundException- in case of an error
-
-
Method Details
-
start
public org.ctan.site.services.postings.PostingsService.PostingsThread start()This method starts the processing right after the service has been constructed.- Returns:
- the thread
-