public class PduEncoder extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_USER_PDU_SIZE |
Constructor and Description |
---|
PduEncoder() |
Modifier and Type | Method and Description |
---|---|
String[] |
encodePdus() |
String |
getMessageText() |
String |
getReceiverPhonenumber() |
int |
getRefnumber() |
boolean |
isMultiSMS() |
void |
setMessageText(Pdu.Encoding enc,
String messageText) |
void |
setMessageText(String messageText) |
void |
setReceiverPhonenumber(String receiverPhonenumber) |
void |
setRefnumber(int refnumber) |
public static final int MAX_USER_PDU_SIZE
public boolean isMultiSMS()
public String[] encodePdus()
public String getMessageText()
public void setMessageText(Pdu.Encoding enc, String messageText) throws Pdu.EncodingException
messageText
- the messageText to setPdu.EncodingException
public void setMessageText(String messageText)
messageText
- the messageText to setpublic String getReceiverPhonenumber()
public void setReceiverPhonenumber(String receiverPhonenumber)
receiverPhonenumber
- the receiverPhonenumber to setpublic int getRefnumber()
public void setRefnumber(int refnumber)
refnumber
- the refnumber to setCopyright © 2009–2015 atmodem4j. All rights reserved.