imageinfo.java

来自「java写的图片浏览器,类似acds」· Java 代码 · 共 60 行

JAVA
60
字号
package org.net9.oops.jsee;//import java.util.Calendar;import javax.swing.ImageIcon;/** * <p> * This class contain the information a file * </p> * @author Neoya M <neoyaa@yahoo.com> * @version 2002-03-09 */public class ImageInfo {    private ImageIcon imageIcon;    private String  name;    private Long    size;    private String  date;    private String  type;    private String  property;    static final Long LONG_ZERO=new Long(0);    static final Long LONG_ONE=new Long(1);    public ImageIcon getImageIcon(){        return imageIcon;    }    public String getName(){        return name;    }    public Long getSize(){        return size;    }    public String getDate(){        return date;    }    public String getType(){        return type;    }    public String getProperty(){        return property;    }    //    public void setImageIcon(ImageIcon icon){        this.imageIcon=icon;    }    public void setName(String name){        this.name=name;    }    public void setSize(Long size){        this.size=size;    }    public void setDate(String date){        this.date=date;    }    public void setType(String type){        this.type=type;    }    public void setProperty(String property){        this.property=property;    }}

⌨️ 快捷键说明

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