com.sapportals.wcm.rfadapter

Class ContentCreator

java.lang.Object
  extended bycom.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


Copyright 2006 SAP AG Complete Copyright Notice