public class ContentMetadata extends Object implements IContentMetadata
Constructor and Description |
---|
ContentMetadata(IContentMetadata orgContentMetadata,
long contentLength)
Construct object of class ContentMetadata.
|
ContentMetadata(IContentMetadata orgContentMetadata,
long contentLength,
String eTag,
Date lastModified)
Construct object of class ContentMetadata.
|
ContentMetadata(IContentMetadata orgContentMetadata,
String eTag)
Construct object of class ContentMetadata.
|
ContentMetadata(IContentMetadata orgContentMetadata,
String eTag,
Date lastModified)
Construct object of class ContentMetadata.
|
ContentMetadata(long contentLength,
String contentType,
String contentEncoding,
String contentLanguage,
String eTag,
Date expires,
Date lastModified)
Construct object of class ContentMetadata.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentEncoding()
Get the encoding attribute of the ContentMetadata object.
|
String |
getContentLanguage()
Get the language attribute of the ContentMetadata object.
|
long |
getContentLength()
Get the contentLength attribute of the ContentMetadata object.
|
String |
getContentType()
Get the contentType attribute of the ContentMetadata object.
|
String |
getETag()
Get the entityTag attribute of the ContentMetadata object.
|
Date |
getExpires()
Get the expires attribute of the ContentMetadata object.
|
Date |
getLastModified()
Get the lastModified attribute of the ContentMetadata object.
|
public ContentMetadata(IContentMetadata orgContentMetadata, String eTag)
orgContentMetadata
- original content metadataeTag
- entity tagpublic ContentMetadata(IContentMetadata orgContentMetadata, long contentLength)
orgContentMetadata
- original content metadatacontentLength
- content lengthpublic ContentMetadata(IContentMetadata orgContentMetadata, String eTag, Date lastModified)
orgContentMetadata
- original content metadataeTag
- entity taglastModified
- last modified datepublic ContentMetadata(IContentMetadata orgContentMetadata, long contentLength, String eTag, Date lastModified)
orgContentMetadata
- original content metadatacontentLength
- content lengtheTag
- entity taglastModified
- last modified datepublic ContentMetadata(long contentLength, String contentType, String contentEncoding, String contentLanguage, String eTag, Date expires, Date lastModified)
contentLength
- content lengthcontentType
- content typecontentEncoding
- content encodingcontentLanguage
- content languageeTag
- entity tagexpires
- expires datelastModified
- last modified datepublic long getContentLength()
getContentLength
in interface IContentMetadata
public String getContentType()
getContentType
in interface IContentMetadata
public String getContentEncoding()
getContentEncoding
in interface IContentMetadata
public String getContentLanguage()
getContentLanguage
in interface IContentMetadata
public String getETag()
getETag
in interface IContentMetadata
public Date getExpires()
getExpires
in interface IContentMetadata
public Date getLastModified()
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 2018 SAP AG Complete Copyright Notice