2010年4月1日 星期四

PATH 的討論

1. gap 並沒有實際的 file, 這是個方法 gap file => Path, 但java的File有太多features是我要當做一個GAP DM file所不須要的, 為了單純化,就不用它了

2.

Method Summary
int compareTo(java.lang.Object o)
Compare this object to another object
boolean equals(java.lang.Object o)
Compare if this object is equal to another object
java.lang.String getGroup()
Get the group associated with the file.
long getLen()
java.sql.Timestamp getModificationTime()
Get the modification time of the file.
java.lang.String getOwner()
Get the owner of the file.
java.lang.String getParentID()
net.asgc.gap.dm.fs.Path getPath()
Get the file abosolute path
java.lang.String getPhysicalPath()
java.lang.String getSEHost()
java.lang.String getSEType()
java.lang.String getUID()
int hashCode()
Returns a hash code value for the object, which is defined as the hash code of the path name.
boolean isDir()
Is this a directory?
void setGroup(java.lang.String group)
Sets group.
void setLen(long length)
void setModificationTime(java.sql.Timestamp dt)
void setOwner(java.lang.String owner)
Sets owner.
void setParentID(java.lang.String pID)
void setPath(net.asgc.gap.dm.fs.Path p)
void setPhysicalPath(java.lang.String surl)
void setSEHost(java.lang.String sh)
void setSEType(java.lang.String st)

沒有留言:

張貼留言