com.sapportals.wcm.rfadapter

Class ContentCreator

java.lang.Object
  extended by com.sapportals.wcm.rfadapter.ContentCreator

public final class ContentCreator
extends Object

convience methods to create IContent objects out of simple objects. see CreateResourceOrUpdateContentCommand for details

Since:
EP6, FP3

Constructor Summary
ContentCreator()
           
 
Method Summary
static IContent content(String content, String contenttype)
           
static IContent content(String content, String encoding, String contenttype, boolean bom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentCreator

public ContentCreator()
Method Detail

content

public static IContent content(String content,
                               String contenttype)

content

public static IContent content(String content,
                               String encoding,
                               String contenttype,
                               boolean bom)
                        throws WcmException
Throws:
WcmException
Access Rights

This class can be accessed from:


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 2014 SAP AG Complete Copyright Notice