SAP NetWeaver '04

com.sap.netweaver.bc.rf.common.content
Class ContentMetadata

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.common_api.jar]
java.lang.Object
  |
  +--com.sap.netweaver.bc.rf.common.content.ContentMetadata
All Implemented Interfaces:
IContentMetadata

public class ContentMetadata
extends java.lang.Object
implements IContentMetadata

Interface describing the content metadata of the content a resource may provide.


Constructor Summary
ContentMetadata(IContentMetadata orgContentMetadata, long contentLength)
          Construct object of class ContentMetadata.
ContentMetadata(IContentMetadata orgContentMetadata, long contentLength, java.lang.String eTag, java.util.Date lastModified)
          Construct object of class ContentMetadata.
ContentMetadata(IContentMetadata orgContentMetadata, java.lang.String eTag)
          Construct object of class ContentMetadata.
ContentMetadata(IContentMetadata orgContentMetadata, java.lang.String eTag, java.util.Date lastModified)
          Construct object of class ContentMetadata.
ContentMetadata(long contentLength, java.lang.String contentType, java.lang.String contentEncoding, java.lang.String contentLanguage, java.lang.String eTag, java.util.Date expires, java.util.Date lastModified)
          Construct object of class ContentMetadata.
 
Method Summary
 java.lang.String getContentEncoding()
          Get the encoding attribute of the ContentMetadata object.
 java.lang.String getContentLanguage()
          Get the language attribute of the ContentMetadata object.
 long getContentLength()
          Get the contentLength attribute of the ContentMetadata object.
 java.lang.String getContentType()
          Get the contentType attribute of the ContentMetadata object.
 java.lang.String getETag()
          Get the entityTag attribute of the ContentMetadata object.
 java.util.Date getExpires()
          Get the expires attribute of the ContentMetadata object.
 java.util.Date getLastModified()
          Get the lastModified attribute of the ContentMetadata object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentMetadata

public ContentMetadata(IContentMetadata orgContentMetadata,
                       java.lang.String eTag)
Construct object of class ContentMetadata.
Parameters:
orgContentMetadata - original content metadata
eTag - entity tag

ContentMetadata

public ContentMetadata(IContentMetadata orgContentMetadata,
                       long contentLength)
Construct object of class ContentMetadata.
Parameters:
orgContentMetadata - original content metadata
contentLength - content length

ContentMetadata

public ContentMetadata(IContentMetadata orgContentMetadata,
                       java.lang.String eTag,
                       java.util.Date lastModified)
Construct object of class ContentMetadata.
Parameters:
orgContentMetadata - original content metadata
eTag - entity tag
lastModified - last modified date

ContentMetadata

public ContentMetadata(IContentMetadata orgContentMetadata,
                       long contentLength,
                       java.lang.String eTag,
                       java.util.Date lastModified)
Construct object of class ContentMetadata.
Parameters:
orgContentMetadata - original content metadata
contentLength - content length
eTag - entity tag
lastModified - last modified date

ContentMetadata

public ContentMetadata(long contentLength,
                       java.lang.String contentType,
                       java.lang.String contentEncoding,
                       java.lang.String contentLanguage,
                       java.lang.String eTag,
                       java.util.Date expires,
                       java.util.Date lastModified)
Construct object of class ContentMetadata.
Parameters:
contentLength - content length
contentType - content type
contentEncoding - content encoding
contentLanguage - content language
eTag - entity tag
expires - expires date
lastModified - last modified date
Method Detail

getContentLength

public long getContentLength()
Get the contentLength attribute of the ContentMetadata object.
Specified by:
getContentLength in interface IContentMetadata
Returns:
contentLength value

getContentType

public java.lang.String getContentType()
Get the contentType attribute of the ContentMetadata object.
Specified by:
getContentType in interface IContentMetadata
Returns:
contentType value

getContentEncoding

public java.lang.String getContentEncoding()
Get the encoding attribute of the ContentMetadata object.
Specified by:
getContentEncoding in interface IContentMetadata
Returns:
encoding value

getContentLanguage

public java.lang.String getContentLanguage()
Get the language attribute of the ContentMetadata object.
Specified by:
getContentLanguage in interface IContentMetadata
Returns:
language value

getETag

public java.lang.String getETag()
Get the entityTag attribute of the ContentMetadata object.
Specified by:
getETag in interface IContentMetadata
Returns:
entityTag value

getExpires

public java.util.Date getExpires()
Get the expires attribute of the ContentMetadata object.
Specified by:
getExpires in interface IContentMetadata
Returns:
expires value

getLastModified

public java.util.Date getLastModified()
Get the lastModified attribute of the ContentMetadata object.
Specified by:
getLastModified in interface IContentMetadata
Returns:
lastModified value

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.