org.apache.james.nntpserver.repository
Class NNTPLineReaderImpl

java.lang.Object
  |
  +--org.apache.james.nntpserver.repository.NNTPLineReaderImpl
All Implemented Interfaces:
NNTPLineReader

public class NNTPLineReaderImpl
extends Object
implements NNTPLineReader

Reads and translates client data. After this translation, the data can be streamed into server repository. Handles Dot Stuffing.

Author:
Harmeet Bedi

Constructor Summary
NNTPLineReaderImpl(BufferedReader reader)
           
 
Method Summary
 String readLine()
          Reads a line of data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NNTPLineReaderImpl

public NNTPLineReaderImpl(BufferedReader reader)
Method Detail

readLine

public String readLine()
Description copied from interface: NNTPLineReader
Reads a line of data.

Specified by:
readLine in interface NNTPLineReader
Returns:
null indicates end of data
See Also:
NNTPLineReader.readLine()


"Copyright © 1999-2002 Apache Jakarta Project. All Rights Reserved."