Package dw.xmlrpc

Class 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 file
      java.lang.String id()
      Media id (namespace + name)
      java.lang.Boolean isImg()
      Whether the file is an image or not
      java.util.Date lastModified()
      Date of last modification of the file
      java.lang.Integer mtime()
      upload date
      java.lang.Integer perms()
      Permissions of file
      java.lang.Integer size()
      Size in bytes
      java.lang.String toString()  
      java.lang.Boolean writable()
      Whether the file is writable or not
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AttachmentDetails

        public 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 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 class java.lang.Object