Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class ImageInfo
extends Object

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

Author:
tiry

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

Constructor Detail

ImageInfo

public ImageInfo(String width,
                 String height,
                 String format,
                 String filePath)

ImageInfo

public ImageInfo(String width,
                 String height,
                 String format,
                 String depth,
                 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 String getFormat()

setFormat

public void setFormat(String format)

toString

public String toString()
Overrides:
toString in class Object

getFilePath

public String getFilePath()

getFile

public File getFile()

getDepth

public int getDepth()

setDepth

public void setDepth(int depth)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.