Class ImageInfo

java.lang.Object
org.fastily.jwiki.dwrap.DataEntry
org.fastily.jwiki.dwrap.ImageInfo
All Implemented Interfaces:
Comparable<ImageInfo>

public final class ImageInfo
extends DataEntry
implements Comparable<ImageInfo>
Container object for a result returned by the ImageInfo MediaWiki module.
Author:
Fastily
  • Field Details

    • size

      public int size
      The image size (in bytes)
    • height

      public int height
      The file's height (in pixels), if applicable.
    • width

      public int width
      The file's width (in pixels), if applicable.
    • sha1

      public String sha1
      The sha1 hash for this file
    • url

      public okhttp3.HttpUrl url
      The url of the full size image.
    • mime

      public String mime
      The MIME string of the file.
  • Method Details