com.imcode.util
Class ImageSize

java.lang.Object
  extended by com.imcode.util.ImageSize
All Implemented Interfaces:
java.io.Serializable

public class ImageSize
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ImageSize(int width, int height)
           
 
Method Summary
static ImageSize fromInputStream(java.io.InputStream inputStream)
           
 int getHeight()
           
 int getWidth()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageSize

public ImageSize(int width,
                 int height)
Method Detail

getWidth

public int getWidth()

getHeight

public int getHeight()

toString

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

fromInputStream

public static ImageSize fromInputStream(java.io.InputStream inputStream)
                                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © -2005 . All Rights Reserved.