public class FileEntry extends BaseEntry
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
PATH |
static int |
PATHTYPE |
static ObjectTableMapper |
TABLE_MAPPER |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TYPE_PREFIX |
DESCRIPTION, DESCRIPTIONTYPE, DISPLAYNAME, DISPLAYNAMETYPE, ID, IDTYPE, PARENTID, PARENTIDTYPE, sortindex, SORTINDEX, SORTINDEXTYPE| 构造器和说明 |
|---|
FileEntry() |
FileEntry(java.lang.String displayName) |
FileEntry(java.lang.String displayName,
java.lang.String description,
java.lang.String path) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
clone() |
JSONObject |
createJSONConfig()
生成json
|
JSONObject |
createShowJSONConfig()
生成用于显示的json
|
boolean |
equals4Properties(java.lang.Object obj)
判断两个对象属性是否相同
|
int |
getEntryType() |
java.lang.String |
getPath() |
protected java.lang.String |
getRealDisplayName() |
java.lang.String |
getTypePrefix() |
protected int |
hashCode4Properties() |
boolean |
isCpr()
是不是cpr文件
|
void |
parseJSON(JSONObject jo)
用json初始化对象的属性
|
void |
setPath(java.lang.String path) |
getDescription, getDisplayName, getParentId, getShowType, getSortindex, readXML, setDescription, setDisplayName, setMobileCoverId, setParentId, setSortindex, writeXMLpublic static final java.lang.String TYPE_PREFIX
public static final java.lang.String TABLE_NAME
public static final java.lang.String PATH
public static final int PATHTYPE
public static final ObjectTableMapper TABLE_MAPPER
public FileEntry()
public FileEntry(java.lang.String displayName)
public FileEntry(java.lang.String displayName,
java.lang.String description,
java.lang.String path)
public void setPath(java.lang.String path)
public java.lang.String getPath()
public JSONObject createShowJSONConfig() throws JSONException
createShowJSONConfig 在接口中 EntrycreateShowJSONConfig 在类中 BaseEntryJSONException - 异常public JSONObject createJSONConfig() throws JSONException
createJSONConfig 在接口中 EntrycreateJSONConfig 在类中 BaseEntryJSONException - 异常protected java.lang.String getRealDisplayName()
getRealDisplayName 在类中 BaseEntryprotected int hashCode4Properties()
hashCode4Properties 在类中 BaseEntrypublic boolean equals4Properties(java.lang.Object obj)
equals4Properties 在类中 BaseEntryobj - 对象public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 BaseEntryjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常public java.lang.String getTypePrefix()
getTypePrefix 在类中 BaseEntrypublic void parseJSON(JSONObject jo) throws JSONException
parseJSON 在接口中 EntryparseJSON 在类中 BaseEntryjo - json对象JSONException - 异常public int getEntryType()
public boolean isCpr()