Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib.provider
Class StreamDCOutputProvider

java.lang.Object
  |
  +--com.sap.tc.complib.provider.StreamDCOutputProvider
All Implemented Interfaces:
DCOutputProvider

public class StreamDCOutputProvider
extends java.lang.Object
implements DCOutputProvider


Field Summary
static com.sap.tc.logging.Location LOCATION
           
 
Constructor Summary
StreamDCOutputProvider(java.io.OutputStream stream)
          Constructor for StreamDCOutputProvider.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCATION

public static final com.sap.tc.logging.Location LOCATION
Constructor Detail

StreamDCOutputProvider

public StreamDCOutputProvider(java.io.OutputStream stream)
Constructor for StreamDCOutputProvider.
Method Detail

getStreamForDC

public java.io.OutputStream getStreamForDC()
                                    throws ProviderException
Description copied from interface: DCOutputProvider
Provides an output stream for the selected development component
Specified by:
getStreamForDC in interface DCOutputProvider
Following copied from interface: com.sap.tc.complib.provider.DCOutputProvider
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)
Description copied from interface: DCOutputProvider
Releases the given input stream.
Specified by:
releaseStream in interface DCOutputProvider
Following copied from interface: com.sap.tc.complib.provider.DCOutputProvider
Parameters:
stream - the stream to release.

getPPOutputProvider

public PPOutputProvider getPPOutputProvider(java.lang.String publicPartName)
Description copied from interface: DCOutputProvider
Returns an output provider for the public parts of the given DC.
Specified by:
getPPOutputProvider in interface DCOutputProvider
Following copied from interface: com.sap.tc.complib.provider.DCOutputProvider
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.

Copyright @ 2002 SAP. All Rights Reserved.