com.sap.tc.complib.provider
Interface PPInputProvider
- All Known Implementing Classes:
- FileInputProvider
- public interface PPInputProvider
This interface represents a generic provider for input streams
used to unmarshal public parts.
|
Method Summary |
java.io.InputStream |
getStreamForPublicPart()
Provides an input stream for the selected public part. |
void |
releaseStream(java.io.InputStream stream)
Releases the given input stream. |
getStreamForPublicPart
public java.io.InputStream getStreamForPublicPart()
throws ProviderException
- Provides an input stream for the selected public part.
- Returns:
- a stream providing the part's description file.
- Throws:
ProviderException - if the public part 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.