com.sap.tc.complib.provider
Interface DCOutputProvider
- All Known Implementing Classes:
- StreamDCOutputProvider, FileOutputProvider
- public interface DCOutputProvider
This interface represents a generic provider for output streams
used to marshal development components.
|
Method Summary |
PPOutputProvider |
getPPOutputProvider(java.lang.String publicPartName)
Returns an output provider for the public parts of the given DC. |
java.io.OutputStream |
getStreamForDC()
Provides an output stream for the selected development component |
void |
releaseStream(java.io.OutputStream stream)
Releases the given input stream. |
getStreamForDC
public java.io.OutputStream getStreamForDC()
throws ProviderException
- Provides an output stream for the selected development 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.
getPPOutputProvider
public PPOutputProvider getPPOutputProvider(java.lang.String publicPartName)
- Returns an output provider for the public parts of the given DC.
- Parameters:
publicPartName - the name of a public part.- Returns:
- an output provider for the public part's description file.
- Throws:
ProviderException - if the public part does not exist or is
invalid.