|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.dexterim.msn.message.MimeMessage net.sf.dexterim.msn.message.MimeMessageFactory
Field Summary | |
static java.lang.String |
MSN_MAIL_NOTIFICATION
Description of the Field |
static java.lang.String |
MSN_PROFILE
Description of the Field |
static java.lang.String |
USER_MESSAGE
Description of the Field |
static java.lang.String |
USER_TYPING
Description of the Field |
Constructor Summary | |
MimeMessageFactory()
Creates a new instance of MimeMessage |
Method Summary | |
MsnMessage |
addCharBlock(char[] charBlock)
Adds a feature to the CharBlock attribute of the MimeMessageFactory object |
MsnMessage |
addLine(java.lang.String line)
Adds a Received Line to a Message. |
java.lang.String |
getCharacterSet()
Getter for property characterSet. |
java.lang.String |
getMessageCommand()
Gets the messageCommand attribute of the MimeMessageFactory object |
java.lang.String |
getMimeType()
Getter for property mimeType. |
java.lang.String |
getMimeVersion()
Getter for property mimeVersion. |
protected java.util.List |
inspectBody(java.lang.String body)
Description of the Method |
boolean |
isCompleted()
Return true if MsnMessage does not require any further input. |
boolean |
isMultipartMessage()
Gets the multipartMessage attribute of the MimeMessageFactory object |
void |
process(MsnConnection connection)
Double Dispatching Messages |
void |
processMessage(java.lang.String account,
java.lang.String nick,
java.util.List lineList)
Description of the Method |
Methods inherited from class net.sf.dexterim.msn.message.MimeMessage |
getRequiredByteInput, setRequiredByteInput |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MSN_PROFILE
public static final java.lang.String MSN_MAIL_NOTIFICATION
public static final java.lang.String USER_TYPING
public static final java.lang.String USER_MESSAGE
Constructor Detail |
public MimeMessageFactory()
Method Detail |
public MsnMessage addLine(java.lang.String line) throws MessageFormatException
addLine
in interface MsnMessage
addLine
in class MimeMessage
line
- The String line to be added to the Message
MessageFormatException
- Description of the Exceptionpublic boolean isMultipartMessage()
isMultipartMessage
in interface MsnMessage
isMultipartMessage
in class MimeMessage
public boolean isCompleted()
isCompleted
in interface MsnMessage
isCompleted
in class MimeMessage
public java.lang.String getMimeType()
public java.lang.String getMimeVersion()
public java.lang.String getCharacterSet()
public java.lang.String getMessageCommand()
public MsnMessage addCharBlock(char[] charBlock) throws MessageFormatException
addCharBlock
in interface MsnMessage
addCharBlock
in class MimeMessage
charBlock
- The feature to be added to the CharBlock attribute
MessageFormatException
- Description of the Exceptionprotected java.util.List inspectBody(java.lang.String body) throws MessageFormatException
body
- Description of the Parameter
MessageFormatException
- Description of the Exceptionpublic void processMessage(java.lang.String account, java.lang.String nick, java.util.List lineList)
processMessage
in class MimeMessage
account
- Description of the Parameternick
- Description of the ParameterlineList
- Description of the Parameter
MessageFormatException
- Description of the Exceptionpublic void process(MsnConnection connection)
MsnMessage
connection
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |