Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.picture.api
Class ImageInfo

java.lang.Object
  extended by org.nuxeo.ecm.platform.picture.api.ImageInfo

public class ImageInfo
extends java.lang.Object

Wrapper class for the informations returned by the Identify ImageMagick command.

Author:
tiry

Constructor Summary
ImageInfo(java.lang.String width, java.lang.String height, java.lang.String format, java.lang.String filePath)
           
ImageInfo(java.lang.String width, java.lang.String height, java.lang.String format, java.lang.String depth, java.lang.String filePath)
           
 
Method Summary
 int getDepth()
           
 java.io.File getFile()
           
 java.lang.String getFilePath()
           
 java.lang.String getFormat()
           
 int getHeight()
           
 int getWidth()
           
 void setDepth(int depth)
           
 void setFormat(java.lang.String format)
           
 void setHeight(int height)
           
 void setWidth(int width)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageInfo

public ImageInfo(java.lang.String width,
                 java.lang.String height,
                 java.lang.String format,
                 java.lang.String filePath)

ImageInfo

public ImageInfo(java.lang.String width,
                 java.lang.String height,
                 java.lang.String format,
                 java.lang.String depth,
                 java.lang.String filePath)
Method Detail

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

getFormat

public java.lang.String getFormat()

setFormat

public void setFormat(java.lang.String format)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getFilePath

public java.lang.String getFilePath()

getFile

public java.io.File getFile()

getDepth

public int getDepth()

setDepth

public void setDepth(int depth)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.