com.sun.mail.iap
Class ResponseInputStream

java.lang.Object
  extended by com.sun.mail.iap.ResponseInputStream

public class ResponseInputStream
extends java.lang.Object

Inputstream that is used to read a Response.

Version:
1.10, 07/05/04
Author:
Arun Krishnan, Bill Shannon

Constructor Summary
ResponseInputStream(java.io.InputStream in)
          Constructor.
 
Method Summary
 ByteArray readResponse()
          Read a Response from the InputStream.
 ByteArray readResponse(ByteArray ba)
          Read a Response from the InputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseInputStream

public ResponseInputStream(java.io.InputStream in)
Constructor.

Method Detail

readResponse

public ByteArray readResponse()
                       throws java.io.IOException
Read a Response from the InputStream.

Returns:
ByteArray that contains the Response
Throws:
java.io.IOException

readResponse

public ByteArray readResponse(ByteArray ba)
                       throws java.io.IOException
Read a Response from the InputStream.

Returns:
ByteArray that contains the Response
Throws:
java.io.IOException


Copyright © 2012. All Rights Reserved.