com.atlassian.confluence.pages.attachments
Class ImageDetails

java.lang.Object
  extended by com.atlassian.confluence.pages.attachments.ImageDetails

public final class ImageDetails
extends Object

Class containing the image details of a single version of an Attachment.


Constructor Summary
ImageDetails(Attachment attachment, int width, int height, String mimeType)
           
 
Method Summary
 boolean equals(Object o)
           
 Attachment getAttachment()
           
 int getHeight()
           
 String getMimeType()
           
 int getWidth()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageDetails

public ImageDetails(Attachment attachment,
                    int width,
                    int height,
                    String mimeType)
Method Detail

getHeight

public int getHeight()

getWidth

public int getWidth()

getMimeType

public String getMimeType()

getAttachment

public Attachment getAttachment()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.