com.atlassian.core.util.thumbnail
Class Thumbnail

java.lang.Object
  extended by com.atlassian.core.util.thumbnail.Thumbnail

public class Thumbnail
extends Object


Nested Class Summary
static class Thumbnail.MimeType
           
 
Constructor Summary
Thumbnail(int height, int width, String fileName, long attachmentId)
           
Thumbnail(int height, int width, String filename, long attachmentId, Thumbnail.MimeType mimeType)
           
 
Method Summary
 long getAttachmentId()
          the id of the attachment for which this is a thumbnail of
 String getFilename()
          Get the filename of the file this thumbnail represents.
 int getHeight()
           
 Thumbnail.MimeType getMimeType()
           
 int getWidth()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Thumbnail

public Thumbnail(int height,
                 int width,
                 String fileName,
                 long attachmentId)

Thumbnail

public Thumbnail(int height,
                 int width,
                 String filename,
                 long attachmentId,
                 Thumbnail.MimeType mimeType)
Method Detail

getHeight

public int getHeight()

getWidth

public int getWidth()

getFilename

public String getFilename()
Get the filename of the file this thumbnail represents.


getAttachmentId

public long getAttachmentId()
the id of the attachment for which this is a thumbnail of

Returns:

getMimeType

public Thumbnail.MimeType getMimeType()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Atlassian. All rights reserved.