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

📄 serializable.java

📁 国外的j2me播放器软件
💻 JAVA
字号:
package no.auc.one.portableplayer.utils;

import java.io.IOException;
import java.io.DataOutput;
import java.io.PrintStream;

public interface Serializable {
    void serialize(DataOutput dout) throws IOException;

    /**
     * Serialize this DIDL object into DIDL-LITE XML format.
     */
    void serializeXml(PrintStream ps);
    
    /**
     * Because a super type can not know if it is directly being called by a 
     * sub-type or is directly invoked, the invokee must execute this method 
     * on the directly invoked object to get the proper end marker.
     *
     * End marker will be either </item> or </container> suffixed 
     * with CRLF.
     */
    void serializeXmlEndMarker(PrintStream ps);

    //
    // Currently require that implementers have a special constructor for 
    // deserialization.
    // 
    // static Object deserialize(DataInputStream dis);
}

⌨️ 快捷键说明

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