allensoft.javacvs.client
Class CVSResponseMessageReader

java.lang.Object
  |
  +--java.io.Reader
        |
        +--allensoft.javacvs.client.CVSResponseMessageReader

public class CVSResponseMessageReader
extends java.io.Reader

A Reader which can be used to read the messages that come back from the server for a response.


Field Summary
static int ALL_MESSAGES
           
static int STDERR_MESSAGES
           
static int STDOUT_MESSAGES
           
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
CVSResponseMessageReader(CVSResponse response, int nMessageTypesToRead)
           
CVSResponseMessageReader(CVSResponse response, int nMessageTypesToRead, int nFirstMessage)
           
CVSResponseMessageReader(CVSResponse response, int nMessageTypesToRead, int nFirstMessage, int nLastMessage)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(char[] cbuff, int off, int len)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STDOUT_MESSAGES

public static final int STDOUT_MESSAGES

STDERR_MESSAGES

public static final int STDERR_MESSAGES

ALL_MESSAGES

public static final int ALL_MESSAGES
Constructor Detail

CVSResponseMessageReader

public CVSResponseMessageReader(CVSResponse response,
                                int nMessageTypesToRead,
                                int nFirstMessage,
                                int nLastMessage)

CVSResponseMessageReader

public CVSResponseMessageReader(CVSResponse response,
                                int nMessageTypesToRead,
                                int nFirstMessage)

CVSResponseMessageReader

public CVSResponseMessageReader(CVSResponse response,
                                int nMessageTypesToRead)
Method Detail

read

public int read()
Overrides:
read in class java.io.Reader

read

public int read(char[] cbuff,
                int off,
                int len)
Overrides:
read in class java.io.Reader

close

public void close()
Overrides:
close in class java.io.Reader