Package org.ctan.site.services.postings
Class PostingReader
java.lang.Object
org.ctan.site.services.postings.PostingReader
- All Implemented Interfaces:
AutoCloseable
This class provides a reader for mails from gzipped mail archive files.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PostingReader
This is the constructor forPostingReader
.- Parameters:
r
- the reader
-
-
Method Details
-
close
This method closes this reader and the attached input sources.- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
- in case of an I/O error during closing
-
read
This method reads a mail from this reader and returns it.- Returns:
- the mail read or
null
at EOF - Throws:
IOException
- in case of an I/O error
-