org.marre.wap.mms
Class MmsHeaderEncoder
java.lang.Object
org.marre.wap.mms.MmsHeaderEncoder
- public final class MmsHeaderEncoder
- extends java.lang.Object
- Version:
- $Id: MmsHeaderEncoder.java,v 1.1 2004/11/02 17:59:54 c95men Exp $
- Author:
- Markus Eriksson
Method Summary |
static void |
writeApplicationHeader(java.io.OutputStream theOs,
java.lang.String theName,
java.lang.String theValue)
|
static void |
writeEncodedStringValue(java.io.OutputStream baos,
java.lang.String theStringValue)
|
static void |
writeHeaderBcc(java.io.OutputStream theOs,
java.lang.String theRecipient)
|
static void |
writeHeaderCc(java.io.OutputStream theOs,
java.lang.String theRecipient)
|
static void |
writeHeaderContentLocation(java.io.OutputStream theOs,
java.lang.String theContentLocation)
Writes a wsp encoded content-location header as specified in
WAP-230-WSP-20010705-a.pdf. |
static void |
writeHeaderContentType(byte wspEncodingVersion,
java.io.OutputStream theOs,
MimeHeader theContentType)
|
static void |
writeHeaderContentType(byte wspEncodingVersion,
java.io.OutputStream theOs,
java.lang.String theContentType)
|
static void |
writeHeaderDate(java.io.OutputStream theOs,
java.util.Date date)
|
static void |
writeHeaderFrom(java.io.OutputStream theOs,
java.lang.String theFrom)
|
static void |
writeHeaderSubject(java.io.OutputStream theOs,
java.lang.String theSubject)
|
static void |
writeHeaderTo(java.io.OutputStream theOs,
java.lang.String theRecipient)
|
static void |
writeHeaderXMmsExpiryAbsolute(java.io.OutputStream theOs,
java.util.Date theExpiry)
|
static void |
writeHeaderXMmsExpiryAbsolute(java.io.OutputStream theOs,
long theExpiry)
|
static void |
writeHeaderXMmsExpiryRelative(java.io.OutputStream theOs,
long theExpiry)
|
static void |
writeHeaderXMmsMessageClass(java.io.OutputStream theOs,
int theMessageClassId)
|
static void |
writeHeaderXMmsMessageClass(java.io.OutputStream theOs,
java.lang.String theMessageClass)
|
static void |
writeHeaderXMmsMessageSize(java.io.OutputStream theOs,
long messageSize)
|
static void |
writeHeaderXMmsMessageType(java.io.OutputStream theOs,
int theMessageTypeId)
|
static void |
writeHeaderXMmsMessageType(java.io.OutputStream theOs,
java.lang.String theMessageType)
|
static void |
writeHeaderXMmsMmsVersion(java.io.OutputStream theOs,
int theVersionId)
|
static void |
writeHeaderXMmsMmsVersion(java.io.OutputStream theOs,
java.lang.String theVersion)
|
static void |
writeHeaderXMmsPriority(java.io.OutputStream theOs,
int thePriorityId)
|
static void |
writeHeaderXMmsPriority(java.io.OutputStream theOs,
java.lang.String thePriority)
|
static void |
writeHeaderXMmsReadReply(java.io.OutputStream theOs,
int theReadReplyId)
|
static void |
writeHeaderXMmsReadReply(java.io.OutputStream theOs,
java.lang.String theReadReply)
|
static void |
writeHeaderXMmsSenderVisibility(java.io.OutputStream theOs,
int theVisibilityId)
|
static void |
writeHeaderXMmsSenderVisibility(java.io.OutputStream theOs,
java.lang.String theVisibility)
|
static void |
writeHeaderXMmsStatus(java.io.OutputStream theOs,
int theStatusId)
|
static void |
writeHeaderXMmsStatus(java.io.OutputStream theOs,
java.lang.String theStatus)
|
static void |
writeHeaderXMmsTransactionId(java.io.OutputStream theOs,
java.lang.String theTransactionId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writeHeaderContentLocation
public static void writeHeaderContentLocation(java.io.OutputStream theOs,
java.lang.String theContentLocation)
throws java.io.IOException
- Writes a wsp encoded content-location header as specified in
WAP-230-WSP-20010705-a.pdf.
- Parameters:
theOs
- theContentLocation
-
- Throws:
java.io.IOException
writeHeaderContentType
public static void writeHeaderContentType(byte wspEncodingVersion,
java.io.OutputStream theOs,
java.lang.String theContentType)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderContentType
public static void writeHeaderContentType(byte wspEncodingVersion,
java.io.OutputStream theOs,
MimeHeader theContentType)
throws java.io.IOException
- Throws:
java.io.IOException
writeEncodedStringValue
public static void writeEncodedStringValue(java.io.OutputStream baos,
java.lang.String theStringValue)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsMessageType
public static void writeHeaderXMmsMessageType(java.io.OutputStream theOs,
int theMessageTypeId)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsMessageType
public static void writeHeaderXMmsMessageType(java.io.OutputStream theOs,
java.lang.String theMessageType)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsTransactionId
public static void writeHeaderXMmsTransactionId(java.io.OutputStream theOs,
java.lang.String theTransactionId)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsMmsVersion
public static void writeHeaderXMmsMmsVersion(java.io.OutputStream theOs,
int theVersionId)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsMmsVersion
public static void writeHeaderXMmsMmsVersion(java.io.OutputStream theOs,
java.lang.String theVersion)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderDate
public static void writeHeaderDate(java.io.OutputStream theOs,
java.util.Date date)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderFrom
public static void writeHeaderFrom(java.io.OutputStream theOs,
java.lang.String theFrom)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderSubject
public static void writeHeaderSubject(java.io.OutputStream theOs,
java.lang.String theSubject)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderTo
public static void writeHeaderTo(java.io.OutputStream theOs,
java.lang.String theRecipient)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderCc
public static void writeHeaderCc(java.io.OutputStream theOs,
java.lang.String theRecipient)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderBcc
public static void writeHeaderBcc(java.io.OutputStream theOs,
java.lang.String theRecipient)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsReadReply
public static void writeHeaderXMmsReadReply(java.io.OutputStream theOs,
int theReadReplyId)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsReadReply
public static void writeHeaderXMmsReadReply(java.io.OutputStream theOs,
java.lang.String theReadReply)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsPriority
public static void writeHeaderXMmsPriority(java.io.OutputStream theOs,
int thePriorityId)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsPriority
public static void writeHeaderXMmsPriority(java.io.OutputStream theOs,
java.lang.String thePriority)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsStatus
public static void writeHeaderXMmsStatus(java.io.OutputStream theOs,
int theStatusId)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsStatus
public static void writeHeaderXMmsStatus(java.io.OutputStream theOs,
java.lang.String theStatus)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsMessageClass
public static void writeHeaderXMmsMessageClass(java.io.OutputStream theOs,
int theMessageClassId)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsMessageClass
public static void writeHeaderXMmsMessageClass(java.io.OutputStream theOs,
java.lang.String theMessageClass)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsMessageSize
public static void writeHeaderXMmsMessageSize(java.io.OutputStream theOs,
long messageSize)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsExpiryAbsolute
public static void writeHeaderXMmsExpiryAbsolute(java.io.OutputStream theOs,
long theExpiry)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsExpiryAbsolute
public static void writeHeaderXMmsExpiryAbsolute(java.io.OutputStream theOs,
java.util.Date theExpiry)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsExpiryRelative
public static void writeHeaderXMmsExpiryRelative(java.io.OutputStream theOs,
long theExpiry)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsSenderVisibility
public static void writeHeaderXMmsSenderVisibility(java.io.OutputStream theOs,
int theVisibilityId)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeaderXMmsSenderVisibility
public static void writeHeaderXMmsSenderVisibility(java.io.OutputStream theOs,
java.lang.String theVisibility)
throws java.io.IOException
- Throws:
java.io.IOException
writeApplicationHeader
public static void writeApplicationHeader(java.io.OutputStream theOs,
java.lang.String theName,
java.lang.String theValue)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2002-2005 Markus Eriksson. All Rights Reserved.