com.sapportals.wcm.control.edit

Class ResourceUtilities.ContentDataSource

java.lang.Object
  extended by com.sapportals.wcm.control.edit.ResourceUtilities.ContentDataSource
All Implemented Interfaces:
DataSource
Enclosing class:
ResourceUtilities

public static class ResourceUtilities.ContentDataSource
extends Object
implements DataSource


Constructor Summary
ResourceUtilities.ContentDataSource(String name, IContent content, String contentType, String encoding)
           
 
Method Summary
 String getContentType()
           
 InputStream getInputStream()
           
 String getName()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceUtilities.ContentDataSource

public ResourceUtilities.ContentDataSource(String name,
                                           IContent content,
                                           String contentType,
                                           String encoding)
Method Detail

getContentType

public String getContentType()
Specified by:
getContentType in interface DataSource

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface DataSource
Throws:
IOException

getName

public String getName()
Specified by:
getName in interface DataSource

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in interface DataSource
Throws:
IOException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice