teamdev.jsf.component.dynamicimage
Class ImageType

java.lang.Object
  extended by teamdev.jsf.component.dynamicimage.ImageType
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
static ImageType GIF
           
static ImageType JPEG
           
static ImageType PNG
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if this object is equal to the specified object, and false otherwise.
 java.lang.String getExtension()
          Returns a file extension representing current image type
 java.lang.String toString()
          Returns a string representing the object.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PNG

public static final ImageType PNG

GIF

public static final ImageType GIF

JPEG

public static final ImageType JPEG
Method Detail

toString

public java.lang.String toString()
Returns a string representing the object.

Overrides:
toString in class java.lang.Object
Returns:
The string.

getExtension

public java.lang.String getExtension()
Returns a file extension representing current image type

Returns:
The string.

equals

public boolean equals(java.lang.Object obj)
Returns true if this object is equal to the specified object, and false otherwise.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the other object (null permitted).
Returns:
A boolean.


Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.