|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sap.tc.complib.provider.FileInputProvider
This class implements a DCInputProvider used to unmarshal development components from a local file system.
| Field Summary | |
static com.sap.tc.logging.Location |
LOCATION
|
| Constructor Summary | |
FileInputProvider(java.lang.String rootPath,
ComponentReference component)
Creates an provider for the given root path and component. |
|
| Method Summary | |
PPInputProvider |
getPPInputProvider(java.lang.String publicPartName)
Returns an input provider for the public parts of the selected component. |
java.lang.String[] |
getPublicParts()
Returns a list of the public parts of the given DC. |
java.io.InputStream |
getStreamForDC()
Provides an input stream for the selected development component. |
java.io.InputStream |
getStreamForPublicPart()
Provides an input stream for the selected public part. |
java.io.InputStream |
getStreamForSC()
Provides an input stream for the selected software component. |
java.lang.String[] |
getTopLevelComponents()
Returns the top-level components of the selected software component. |
void |
releaseStream(java.io.InputStream stream)
Releases the given input stream. |
void |
selectPublicPart(java.lang.String publicPartName)
Selects a public part from the given component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final com.sap.tc.logging.Location LOCATION
| Constructor Detail |
public FileInputProvider(java.lang.String rootPath,
ComponentReference component)
rootPath - a path in the local file system.component - the component to which this provider is associated.| Method Detail |
public void selectPublicPart(java.lang.String publicPartName)
publicPartName - the name of a public partpublic void releaseStream(java.io.InputStream stream)
releaseStream in interface DCInputProviderstream - the stream to release.
public java.io.InputStream getStreamForDC()
throws ProviderException
getStreamForDC in interface DCInputProviderProviderException - if the component does not exist or is
invalid, or the description file could not be found.
public java.io.InputStream getStreamForSC()
throws ProviderException
getStreamForSC in interface SCInputProviderProviderException - if the component does not exist or is
invalid, or the description file could not be found.
public java.io.InputStream getStreamForPublicPart()
throws ProviderException
getStreamForPublicPart in interface PPInputProviderProviderException - if the public part does not exist or is
invalid, or the description file could not be found.
public java.lang.String[] getPublicParts()
throws ProviderException
getPublicParts in interface DCInputProvider
public PPInputProvider getPPInputProvider(java.lang.String publicPartName)
throws ProviderException
getPPInputProvider in interface DCInputProviderpublicPartName - the name of a public part.ProviderException - if the public part does not exist or is
invalid, or the selected component is not a development component.
public java.lang.String[] getTopLevelComponents()
throws ProviderException
ProviderException - if the public part does not exist or is
invalid, or the selected component is not a software component.
|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||