⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msnacceptmessage.java

📁 封装的msn代码,利用他很容易就可以登录msn.实现和msn通讯的目的.
💻 JAVA
字号:
package net.sf.jml.message.invitation;/** * Abstract accept message, which invitation command is ACCEPT. *  * @author Roger Chen */public abstract class MsnAcceptMessage extends MsnInvitationMessage {    private final MsnInviteMessage invite;    public MsnAcceptMessage(MsnInviteMessage invite) {        this.invite = invite;        setInvitationCommand(InvitationConstants.COMMAND_ACCEPT);        setInvitationCookie(invite.getInvitationCookie());        setLaunchApplication(false);    }    public final boolean isLaunchApplication() {        return Boolean.TRUE.toString().equalsIgnoreCase(                properties.getProperty(InvitationConstants.KEY_LAUNCH_APP));    }    public final void setLaunchApplication(boolean b) {        properties.setProperty(InvitationConstants.KEY_LAUNCH_APP,                b ? Boolean.TRUE.toString().toUpperCase() : Boolean.FALSE                        .toString().toUpperCase());    }    public MsnInviteMessage getInviteMessage() {        return invite;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -