SAP NetWeaver '04

com.sapportals.wcm.repository
Class ContentMetadata

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.framework_api.jar]
java.lang.Object
  |
  +--com.sapportals.wcm.repository.ContentMetadata
All Implemented Interfaces:
IContentMetadata

public class ContentMetadata
extends java.lang.Object
implements IContentMetadata

TBD: Description of the class.


Constructor Summary
ContentMetadata(long length, java.lang.String type, java.lang.String encoding, java.lang.String entityTag, java.util.Date expiryDate, java.lang.String language, java.util.Date lastModified)
           
 
Method Summary
 java.lang.String getContentEncoding()
          Returns the content encoding of resource content or null if not known.
 java.lang.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.
 java.lang.String getContentType()
          Returns the content type of resource content as media sub type or null if not known.
 java.lang.String getETag()
          Returns the entity-tag for the content (see RFC2616 , section 14.19).
 java.util.Date getExpires()
          Returns the expires date of the content (see RFC2616 , section 14.21) or null when not specified.
 java.util.Date getLastModified()
          Returns the last modification date of the content (see RFC2616 , section 14.29) or null when not known.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentMetadata

public ContentMetadata(long length,
                       java.lang.String type,
                       java.lang.String encoding,
                       java.lang.String entityTag,
                       java.util.Date expiryDate,
                       java.lang.String language,
                       java.util.Date lastModified)
Method Detail

getContentLength

public long getContentLength()
Description copied from interface: IContentMetadata
Returns the length of resource content in bytes or -1 if not known.
Specified by:
getContentLength in interface IContentMetadata
Following copied from interface: com.sap.netweaver.bc.rf.common.content.IContentMetadata
Returns:
length of resource content in bytes

getContentType

public java.lang.String getContentType()
Description copied from interface: IContentMetadata
Returns the content type of resource content as media sub type or null if not known.
Specified by:
getContentType in interface IContentMetadata
Following copied from interface: com.sap.netweaver.bc.rf.common.content.IContentMetadata
Returns:
content type of resource content as media sub type (may be null)

getContentEncoding

public java.lang.String getContentEncoding()
Description copied from interface: IContentMetadata
Returns the content encoding of resource content or null if not known.
Specified by:
getContentEncoding in interface IContentMetadata
Following copied from interface: com.sap.netweaver.bc.rf.common.content.IContentMetadata
Returns:
content encoding of resource content (may be null)

getContentLanguage

public java.lang.String getContentLanguage()
Description copied from interface: IContentMetadata
Returns the content language (see RFC2616 , section 14.12) or null when not known.
Specified by:
getContentLanguage in interface IContentMetadata
Following copied from interface: com.sap.netweaver.bc.rf.common.content.IContentMetadata
Returns:
content language (may be null)

getETag

public java.lang.String getETag()
Description copied from interface: IContentMetadata
Returns the entity-tag for the content (see RFC2616 , section 14.19). Note that the entity tag may be a weak entity tag (indicated by a leading "W/"). Only strong entity tags can be used to assert octet-by-octet entity body identity, though.
Specified by:
getETag in interface IContentMetadata
Following copied from interface: com.sap.netweaver.bc.rf.common.content.IContentMetadata
Returns:
entity-tag of the content (may be null)

getExpires

public java.util.Date getExpires()
Description copied from interface: IContentMetadata
Returns the expires date of the content (see RFC2616 , section 14.21) or null when not specified.
Specified by:
getExpires in interface IContentMetadata
Following copied from interface: com.sap.netweaver.bc.rf.common.content.IContentMetadata
Returns:
expires date of the content (may be null)

getLastModified

public java.util.Date getLastModified()
Description copied from interface: IContentMetadata
Returns the last modification date of the content (see RFC2616 , section 14.29) or null when not known.
Specified by:
getLastModified in interface IContentMetadata
Following copied from interface: com.sap.netweaver.bc.rf.common.content.IContentMetadata
Returns:
last modification date of the content (may be null)

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.