|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.portal.prt.service.notification.TopicDataContainer
public class TopicDataContainer
TopicDataContainer is used to build Topic messages that can be exchanged between PRTs. it is not THREAD SAFE Created: Wed 16 Jan 2002 Copyright (c) SAP Portals Europe GmbH 2002 Last modified on $Date$ by $Author$ using $Change$
| Field Summary | |
|---|---|
static String |
BOUNDARY
|
static String |
BOUNDARY_LINE
|
static TopicType |
FILE
|
static TopicType |
INT
|
static TopicType |
STREAM
|
static TopicType |
STRING
|
static String |
TOPIC_NAME
|
| Constructor Summary | |
|---|---|
TopicDataContainer(String topicName)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public TopicDataContainer(String topicName)
| Method Detail |
|---|
public void addTopicData(String key,
String data)
key - - name of the datadata - - value of the data
public 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 TopicData getTopicDataValue(String key)
public void convertContainer(ByteArrayOutputStream outPut2)
throws IOException
IOExceptionpublic String toString()
toString in class Object| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||