You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.4 KiB
69 lines
1.4 KiB
package com.fr.plugin.customexplorer.preview; |
|
|
|
/** |
|
* @author fr.open |
|
* @create 2019/10/4 |
|
*/ |
|
public class ExplorerInfo { |
|
private String name; |
|
private String path; |
|
private String para; |
|
private String icon; |
|
|
|
public ExplorerInfo(){ |
|
this("", "", ""); |
|
} |
|
|
|
public ExplorerInfo(String name, String path) { |
|
this(name, path, ""); |
|
} |
|
|
|
public ExplorerInfo(String name, String path, String para) { |
|
this(name, path, para, "/com/fr/plugin/customexplorer/icon/default.png"); |
|
} |
|
|
|
public ExplorerInfo(String name, String path, String para, String icon) { |
|
this.name = name; |
|
this.path = path; |
|
this.para = para; |
|
this.icon = icon; |
|
} |
|
|
|
@Override |
|
public ExplorerInfo clone() { |
|
ExplorerInfo clone = new ExplorerInfo(this.name, this.path, this.para, this.icon); |
|
return clone; |
|
} |
|
|
|
public String getName() { |
|
return name; |
|
} |
|
|
|
public void setName(String name) { |
|
this.name = name; |
|
} |
|
|
|
public String getPath() { |
|
return path; |
|
} |
|
|
|
public void setPath(String path) { |
|
this.path = path; |
|
} |
|
|
|
public String getPara() { |
|
return para; |
|
} |
|
|
|
public void setPara(String para) { |
|
this.para = para; |
|
} |
|
|
|
public String getIcon() { |
|
return icon; |
|
} |
|
|
|
public void setIcon(String icon) { |
|
this.icon = icon; |
|
} |
|
}
|
|
|