?? mimemessage.java
字號:
package com.javapatterns.builder.message;
/**
* This is a class used to represent raw MIME e-mail messages. If this
* program is expanded to receive messages in formats other than MIME,
* then this will probably become an abstract class with a subclass for
* each type of e-mail format that can be received.
*/
public class MIMEMessage {
private byte[] rawMessage;
/**
* Constructor
* @param msg A byte array containing a raw unprocessed e-mail
* message.
*/
public MIMEMessage(byte[] msg) {
rawMessage = msg;
} // constructor(byte[])
/**
* Return the raw bytes of an unprocessed e-mail message.
*/
byte[] getMessage() {
return rawMessage;
} // getMessage()
} // class MIMEMessage
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -