com.atlassian.confluence.pages.attachments
Class ImageDetails

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

public final class ImageDetails
extends java.lang.Object

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


Constructor Summary
ImageDetails(Attachment attachment, int width, int height, java.lang.String mimeType)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Attachment getAttachment()
           
 int getHeight()
           
 java.lang.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,
                    java.lang.String mimeType)
Method Detail

getHeight

public int getHeight()

getWidth

public int getWidth()

getMimeType

public java.lang.String getMimeType()

getAttachment

public Attachment getAttachment()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2010 Atlassian. All Rights Reserved.