|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.jnt.JNFile
public final class JNFile
File in the documents & files section.
Method Summary | |
---|---|
void |
delete()
Removes this file. |
boolean |
equals(Object o)
|
String |
getDescription()
A human-readable description of this file. |
JNFileFolder |
getFolder()
Gets the folder to which this file belongs. |
int |
getId()
Gets the unique ID that distinguishes this document. |
Date |
getLastModified()
The timestamp when this file was modifieid. |
JNUser |
getModifiedBy()
The person who modified this file. |
String |
getName()
The name of the file. |
FileStatus |
getStatus()
File status. |
URL |
getURL()
The location of the file. |
int |
hashCode()
|
void |
moveTo(JNFileFolder newFolder)
Move this file to another folder |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JNFileFolder getFolder()
public String getName()
public URL getURL()
public FileStatus getStatus()
public JNUser getModifiedBy()
public Date getLastModified()
public String getDescription()
public int getId()
It's not clear to me whether the scope of the uniqueness is within a project or the whole java.net. I suspect the latter.
public void delete() throws ProcessingException
ProcessingException
public void moveTo(JNFileFolder newFolder) throws ProcessingException
ProcessingException
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |