com.ibm.rational.test.lt.testgen.core.store
Interface IConvertedPacketAttachment
- All Superinterfaces:
- IPacketAttachment
public interface IConvertedPacketAttachment
- extends IPacketAttachment
A special kind of packet attachment that is able to receive the content of
another attachment without the data copy really happening. Converters should
use ConvertedAttachmentOutputStream#appendContent(IPacketAttachment)
instead of performing a direct
stream-to-stream copy of the data wherever this is possible.
getOutputStream
ConvertedAttachmentOutputStream getOutputStream()
- Description copied from interface:
IPacketAttachment
- Returns the output stream used to store an arbitrarily large amount
of data. The returned output stream must be closed by the caller.
- Specified by:
getOutputStream
in interface IPacketAttachment
- Returns:
- An output stream.
© Copyright IBM Corp. 2012. All rights reserved.