com.sapportals.wcm.repository
Class VaryingContent
java.lang.Object
com.sapportals.wcm.repository.Content
com.sapportals.wcm.repository.VaryingContent
- All Implemented Interfaces:
- IEntityMetadata, IMutableEntityMetadata, IVaryingContent, IContent
public class VaryingContent
- extends Content
- implements IVaryingContent
Represents the content of a resource that may vary for different parameters of the resource context.
Copyright (c) SAP AG 2004
|
Method Summary |
boolean |
isVarying()
Returns whether or not the content is varying by some parameters of the context. |
| Methods inherited from class com.sapportals.wcm.repository.Content |
close, getContentLength, getContentType, getEncoding, getEntityTag, getExpiryDate, getInputStream, getLanguage, getLastModified, setEntityTag, setLastModified, wasUpdated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VaryingContent
public VaryingContent(InputStream inputStream,
String mediaType,
long contentLength,
String encoding,
String language,
boolean isVarying)
- Constructs a new content object.
- Parameters:
inputStream - An input stream that delivers the content bytes.mediaType - media type of content (trailing parameters are ignored)contentLength - length of content (use -1 when unknown)encoding - character encoding (use null when unknown)language - content language (use null when unknown)isVarying - true if the content is varying by some parameters of the context.
isVarying
public boolean isVarying()
- Description copied from interface:
IVaryingContent
- Returns whether or not the content is varying by some parameters of the context.
- Specified by:
isVarying in interface IVaryingContent
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