Package dw.xmlrpc
Class AttachmentDetails
- java.lang.Object
-
- dw.xmlrpc.AttachmentDetails
-
public class AttachmentDetails extends java.lang.ObjectDescribes a file uploaded in the wiki as getAttachments would
-
-
Constructor Summary
Constructors Constructor Description AttachmentDetails(java.lang.String id, java.lang.Integer size, java.util.Date lastModified, java.lang.Boolean isImg, java.lang.Boolean writable, java.lang.Integer perms, java.lang.String file, java.lang.Integer mtime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringfile()name of the filejava.lang.Stringid()Media id (namespace + name)java.lang.BooleanisImg()Whether the file is an image or notjava.util.DatelastModified()Date of last modification of the filejava.lang.Integermtime()upload datejava.lang.Integerperms()Permissions of filejava.lang.Integersize()Size in bytesjava.lang.StringtoString()java.lang.Booleanwritable()Whether the file is writable or not
-
-
-
Method Detail
-
id
public java.lang.String id()
Media id (namespace + name)
-
isImg
public final java.lang.Boolean isImg()
Whether the file is an image or not
-
writable
public java.lang.Boolean writable()
Whether the file is writable or not
-
perms
public java.lang.Integer perms()
Permissions of file
-
size
public java.lang.Integer size()
Size in bytes
-
lastModified
public final java.util.Date lastModified()
Date of last modification of the file
-
file
public final java.lang.String file()
name of the file
-
mtime
public final java.lang.Integer mtime()
upload date
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-