Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib.provider
Interface PPOutputProvider

All Known Implementing Classes:
FileOutputProvider

public interface PPOutputProvider

This interface represents a generic provider for output streams used to marshal public parts.


Method Summary
 java.io.OutputStream getStreamForPublicPart()
          Provides an output stream for the selected public part.
 void releaseStream(java.io.OutputStream stream)
          Releases the given input stream.
 

Method Detail

getStreamForPublicPart

public java.io.OutputStream getStreamForPublicPart()
                                            throws ProviderException
Provides an output stream for the selected public part.
Returns:
a stream for serializing the part's description file.
Throws:
ProviderException - if the public part does not exist or is invalid.

releaseStream

public void releaseStream(java.io.OutputStream stream)
Releases the given input stream.
Parameters:
stream - the stream to release.

Copyright @ 2002 SAP. All Rights Reserved.