Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.common.ems
Class VCardService

java.lang.Object
  |
  +--oracle.panama.messaging.common.ems.EMSService
        |
        +--oracle.panama.messaging.common.ems.VCardService
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class VCardService
extends EMSService
See Also:
Serialized Form

Constructor Summary
VCardService()
           

 

Method Summary
 byte[] getBytes()
           
 byte[] getData()
           
 void setCard(VCard card)
          Sets the VCard
 void setLength(int len)
           
 int size()
           

 

Methods inherited from class oracle.panama.messaging.common.ems.EMSService
compareTo, getLength, getPosition, setPosition

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

VCardService

public VCardService()
Method Detail

setCard

public void setCard(VCard card)
Sets the VCard

size

public int size()
Overrides:
size in class EMSService
Returns:
The size of the EMSService : header + data(vCard in this case)

getData

public byte[] getData()
Overrides:
getData in class EMSService
Returns:
The data: vCard contents.

setLength

public void setLength(int len)
Overrides:
setLength in class EMSService

getBytes

public byte[] getBytes()
Overrides:
getBytes in class EMSService
Returns:
Header of the vCard EMS

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.