com.sap.aii.mapping.lookup

Class TextPayload

java.lang.Object
  extended by com.sap.aii.mapping.lookup.Payload
      extended by com.sap.aii.mapping.lookup.TextPayload

public class TextPayload
extends Payload

TextPayload are textual payloads. For them, the encoding must be specified which is known in case of XML documents or not relevant in case of binary payloads.

Since:
SAP NetWeaver '04 SPS 13

Method Summary
 InputStream getContent()
          Returns a reference to the InputStream that carries the content data.
 String getEncoding()
          Returns the encoding (character set name) which is used to encode this text data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEncoding

public String getEncoding()
Returns the encoding (character set name) which is used to encode this text data.


getContent

public InputStream getContent()
Returns a reference to the InputStream that carries the content data.

Specified by:
getContent in class Payload
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.mapping.lib.facade api BC-XI


Copyright 2012 SAP AG Complete Copyright Notice