public class ContentMetadata extends Object implements IContentMetadata
| Constructor and Description |
|---|
ContentMetadata(long length,
String type,
String encoding,
String entityTag,
Date expiryDate,
String language,
Date lastModified) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentEncoding()
Returns the content encoding of resource content or null if not known.
|
String |
getContentLanguage()
Returns the content language (see RFC2616 , section 14.12) or
null when not known. |
long |
getContentLength()
Returns the length of resource content in bytes or -1 if not known.
|
String |
getContentType()
Returns the content type of resource content as media sub type or null if
not known.
|
String |
getETag()
Returns the entity-tag for the content (see RFC2616 , section 14.19).
|
Date |
getExpires()
Returns the expires date of the content (see RFC2616 , section 14.21) or
null when not specified. |
Date |
getLastModified()
Returns the last modification date of the content (see RFC2616 , section 14.29) or
null when not known. |
public long getContentLength()
IContentMetadatagetContentLength in interface IContentMetadatapublic String getContentType()
IContentMetadatagetContentType in interface IContentMetadatapublic String getContentEncoding()
IContentMetadatagetContentEncoding in interface IContentMetadatapublic String getContentLanguage()
IContentMetadatanull when not known.getContentLanguage in interface IContentMetadatapublic String getETag()
IContentMetadatagetETag in interface IContentMetadatapublic Date getExpires()
IContentMetadatanull when not specified.getExpires in interface IContentMetadatapublic Date getLastModified()
IContentMetadatanull when not known.getLastModified in interface IContentMetadata| 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 2021 SAP SE Complete Copyright Notice