Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib.provider
Interface SCOutputProvider

All Known Implementing Classes:
FileOutputProvider

public interface SCOutputProvider

This interface represents a generic provider for output streams used to marshal software components.


Method Summary
 java.io.OutputStream getStreamForSC()
          Provides an output stream for the selected software component
 void releaseStream(java.io.OutputStream stream)
          Releases the given input stream.
 

Method Detail

getStreamForSC

public java.io.OutputStream getStreamForSC()
                                    throws ProviderException
Provides an output stream for the selected software component
Returns:
a stream for serializing the component's description file.
Throws:
ProviderException - if the component 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.