org.jimageanalyst
Class ImageInfo

java.lang.Object
  extended by org.jimageanalyst.ImageInfo

public class ImageInfo
extends java.lang.Object

This bean holds all the information, gathered by the analyzer.

Version:
$LastChangedRevision: 7 $
Author:
Oliver J. Siegmar

Constructor Summary
ImageInfo()
           
 
Method Summary
 void addComment(java.lang.String comment)
          Adds a comment to the list.
 int getBitsPerPixel()
          Gets the bits per pixel value.
 java.util.List<java.lang.String> getComments()
          Get the list of comments.
 java.lang.String getFormat()
          Gets the format identifier.
 int getHeight()
          Sets the height value.
 java.lang.String getMimeType()
          Gets the mime type.
 int getNumberOfImages()
          Sets the number of images stored in the image file.
 float getPhysicalHeightDpi()
          Gets the physical height in dpi.
 float getPhysicalHeightInch()
          Gets the physical heigth in inch value.
 float getPhysicalWidthDpi()
          Gets the physical width in dpi.
 float getPhysicalWidthInch()
          Gets the physical width in inch value.
 int getWidth()
          Gets the image width value.
 boolean isProgressive()
          Gets if the image is in progressive mode.
 void setBitsPerPixel(int bitsPerPixel)
          Sets the bits per pixel value.
 void setComments(java.util.List<java.lang.String> comments)
          Sets the list of comments.
 void setFormat(java.lang.String format)
          Sets the format identifier.
 void setHeight(int height)
          Gets the height value.
 void setMimeType(java.lang.String mimeType)
          Sets the mime type.
 void setNumberOfImages(int numberOfImages)
          Gets the number of images stored in the image file.
 void setPhysicalHeightDpi(float physicalHeightDpi)
          Sets the physical height in dpi.
 void setPhysicalWidthDpi(float physicalWidthDpi)
          Sets the physical width in dpi.
 void setProgressive(boolean progressive)
          Sets if the image is in progressive mode.
 void setWidth(int width)
          Sets the image width value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageInfo

public ImageInfo()
Method Detail

getBitsPerPixel

public int getBitsPerPixel()
Gets the bits per pixel value.

Returns:
the bits per pixel value.
See Also:
setBitsPerPixel(int)

setBitsPerPixel

public void setBitsPerPixel(int bitsPerPixel)
Sets the bits per pixel value.

Parameters:
bitsPerPixel - the bits per pixel value.
See Also:
getBitsPerPixel()

getComments

public java.util.List<java.lang.String> getComments()
Get the list of comments.

Returns:
the list of comments.
See Also:
setComments(List), addComment(String)

setComments

public void setComments(java.util.List<java.lang.String> comments)
Sets the list of comments.

Parameters:
comments - the list of comments.
See Also:
getComments(), addComment(String)

addComment

public void addComment(java.lang.String comment)
Adds a comment to the list.

Parameters:
comment - a comment to add to the list.
See Also:
getComments(), setComments(List)

getFormat

public java.lang.String getFormat()
Gets the format identifier.

Returns:
the format identifier.
See Also:
setFormat(String)

setFormat

public void setFormat(java.lang.String format)
Sets the format identifier.

Parameters:
format - the format identifier.
See Also:
getFormat()

getMimeType

public java.lang.String getMimeType()
Gets the mime type.

Returns:
the mime type.
See Also:
setMimeType(String)

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets the mime type.

Parameters:
mimeType - the mime type.
See Also:
getMimeType()

getHeight

public int getHeight()
Sets the height value.

Returns:
the height value.
See Also:
setHeight(int)

setHeight

public void setHeight(int height)
Gets the height value.

Parameters:
height - the height value.
See Also:
getHeight()

getNumberOfImages

public int getNumberOfImages()
Sets the number of images stored in the image file.

Returns:
the number of images stored in the image file.
See Also:
setNumberOfImages(int)

setNumberOfImages

public void setNumberOfImages(int numberOfImages)
Gets the number of images stored in the image file.

Parameters:
numberOfImages - the number of images stored in the image file.
See Also:
getNumberOfImages()

getPhysicalHeightDpi

public float getPhysicalHeightDpi()
Gets the physical height in dpi.

Returns:
the physical height in dpi.
See Also:
setPhysicalHeightDpi(float), getPhysicalHeightInch()

setPhysicalHeightDpi

public void setPhysicalHeightDpi(float physicalHeightDpi)
Sets the physical height in dpi.

Parameters:
physicalHeightDpi - the physical height in dpi.
See Also:
getPhysicalHeightDpi()

getPhysicalWidthDpi

public float getPhysicalWidthDpi()
Gets the physical width in dpi.

Returns:
the physical width in dpi.
See Also:
setPhysicalWidthDpi(float), getPhysicalWidthInch()

setPhysicalWidthDpi

public void setPhysicalWidthDpi(float physicalWidthDpi)
Sets the physical width in dpi.

Parameters:
physicalWidthDpi - the physical width in dpi.
See Also:
getPhysicalWidthDpi()

isProgressive

public boolean isProgressive()
Gets if the image is in progressive mode.

Returns:
if the image is in progressive mode.
See Also:
setProgressive(boolean)

setProgressive

public void setProgressive(boolean progressive)
Sets if the image is in progressive mode.

Parameters:
progressive - if the image is in progressive mode.
See Also:
isProgressive()

getWidth

public int getWidth()
Gets the image width value.

Returns:
the image width value.
See Also:
setWidth(int)

setWidth

public void setWidth(int width)
Sets the image width value.

Parameters:
width - the image width value.
See Also:
getWidth()

getPhysicalHeightInch

public float getPhysicalHeightInch()
Gets the physical heigth in inch value.

Returns:
the physical heigth in inch value.
See Also:
getPhysicalHeightDpi()

getPhysicalWidthInch

public float getPhysicalWidthInch()
Gets the physical width in inch value.

Returns:
the physical width in inch value.
See Also:
getPhysicalWidthDpi()


Copyright © 2006-2007. All Rights Reserved.