public class ProducerFromStream extends AbstractProducer
Provides access to a stream.
Copyright 2004 SAP AG
Modifier and Type | Field and Description |
---|---|
protected String |
m_mime |
protected InputStream |
m_stream |
protected String |
m_url |
Constructor and Description |
---|
ProducerFromStream(InputStream stream,
String url,
String mimeType) |
Modifier and Type | Method and Description |
---|---|
RequestData |
getData()
This method is responsible to provide a Content object which contains the
XML DOM and/or a stream to non XML data;
|
Date |
getLastModified()
There is no modifaction date
|
String |
getPath()
Returns the path where the resource is found, or an empty string if no path
can be applied to the resource.
|
createDOM, createEmptyDom, createRequestData
protected InputStream m_stream
protected String m_mime
protected String m_url
public ProducerFromStream(InputStream stream, String url, String mimeType) throws WcmException
WcmException
public RequestData getData() throws WcmException
IProducer
WcmException
- Exception raised in failure situationpublic String getPath()
IProducer
public Date getLastModified()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice