gnu.inet.nntp

Class ArticleStream

Implemented Interfaces:
PendingData

public final class ArticleStream
extends FilterInputStream
implements PendingData

A stream that can be told to read to the end of its data.

Method Summary

void
readToEOF()
Read to the end of the article data.

Method Details

readToEOF

public void readToEOF()
            throws IOException
Read to the end of the article data.
Specified by:
readToEOF in interface PendingData