Package dw.xmlrpc
Class AttachmentDetails
- java.lang.Object
-
- dw.xmlrpc.AttachmentDetails
-
public class AttachmentDetails extends java.lang.Object
Describes 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.String
file()
name of the filejava.lang.String
id()
Media id (namespace + name)java.lang.Boolean
isImg()
Whether the file is an image or notjava.util.Date
lastModified()
Date of last modification of the filejava.lang.Integer
mtime()
upload datejava.lang.Integer
perms()
Permissions of filejava.lang.Integer
size()
Size in bytesjava.lang.String
toString()
java.lang.Boolean
writable()
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:
toString
in classjava.lang.Object
-
-