public class TopicDataContainer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BOUNDARY |
static String |
BOUNDARY_LINE |
static TopicType |
FILE |
static TopicType |
INT |
static TopicType |
STREAM |
static TopicType |
STRING |
static String |
TOPIC_NAME |
| Constructor and Description |
|---|
TopicDataContainer(String topicName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTopicData(String key,
String data)
Adds a String data to this Topic message.
|
void |
addTopicData(String key,
TopicData data)
Adds a TopicData object to this Topic message.
|
void |
convertContainer(ByteArrayOutputStream outPut2) |
Enumeration |
getTopicDataKeys()
Returns an enumeration of the name of all the data of this Topic Message.
|
TopicData |
getTopicDataValue(String key) |
Enumeration |
getTopicDataValues()
Returns an enumeration of the values of all the data of this Topic Message.
|
String |
getTopicName()
Returns the Topic name of this Topic message.
|
void |
removeTopicData(String key) |
byte[] |
toByteArray() |
String |
toString()
Describes this container.
|
void |
updateTopicName(String topicName) |
public static final TopicType STRING
public static final TopicType INT
public static final TopicType STREAM
public static final TopicType FILE
public static final String BOUNDARY
public static final String TOPIC_NAME
public static final String BOUNDARY_LINE
public TopicDataContainer(String topicName)
public void addTopicData(String key, String data)
key - - name of the datadata - - value of the datapublic void addTopicData(String key, TopicData data)
key - - name of the datadata - - TopicDatapublic void removeTopicData(String key)
public void updateTopicName(String topicName)
public byte[] toByteArray()
public String getTopicName()
public Enumeration getTopicDataKeys()
public Enumeration getTopicDataValues()
public void convertContainer(ByteArrayOutputStream outPut2) throws IOException
IOException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice