Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib.provider
Interface SCInputProvider

All Known Implementing Classes:
FileInputProvider

public interface SCInputProvider

This interface represents a generic provider for input streams used to unmarshal software components.


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

Method Detail

getStreamForSC

public java.io.InputStream getStreamForSC()
                                   throws ProviderException
Provides an input stream for the selected software component
Returns:
a stream providing the component's description file.
Throws:
ProviderException - if the component does not exist or is invalid, or the description file could not be found.

releaseStream

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

Copyright @ 2002 SAP. All Rights Reserved.