com.vinculumtech.carrierwave.typemap
Class ImageTypeMap
java.lang.Object
com.vinculumtech.carrierwave.typemap.ImageTypeMap
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DynamicImageTypeMap
- public abstract class ImageTypeMap
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Id: //depot/carrierwave/src/shared/com/vinculumtech/carrierwave/typemap/ImageTypeMap.java#21 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageTypeMap
public ImageTypeMap()
setName
protected void setName(java.lang.String name)
getName
public java.lang.String getName()
getImageableTypeMap
public java.util.Map getImageableTypeMap()
setImageableTypeMap
protected void setImageableTypeMap(java.util.Map imageableTypeMap)
getImageTypeMap
public java.util.Map getImageTypeMap()
setImageTypeMap
public void setImageTypeMap(java.util.Map imageTypeMap)
getImageInterfaceTypeMap
public java.util.Map getImageInterfaceTypeMap()
setImageInterfaceTypeMap
protected void setImageInterfaceTypeMap(java.util.Map imageInterfaceTypeMap)
getCommonImageableType
public java.lang.String getCommonImageableType()
setCommonImageableType
protected void setCommonImageableType(java.lang.String commonImageableType)
initMap
protected abstract void initMap()
addImageableImageMapping
protected void addImageableImageMapping(java.lang.String imageableType,
java.lang.String imageType)
addInterfaceImageableMapping
protected void addInterfaceImageableMapping(java.lang.String imageInterfaceType,
java.lang.String imageableType)
getImageTypeForImageableType
public java.lang.String getImageTypeForImageableType(java.lang.String imagebleType)
hasMappingForImageableType
public boolean hasMappingForImageableType(java.lang.String imageableType)
isImageableType
public boolean isImageableType(java.lang.String type)
getImageableTypeForImageType
public java.lang.String getImageableTypeForImageType(java.lang.String imageType)
hasMappingForImageType
public boolean hasMappingForImageType(java.lang.String imageType)
isImageType
public boolean isImageType(java.lang.String type)
getImageableTypeForImageInterfaceType
public java.lang.String getImageableTypeForImageInterfaceType(java.lang.String imageInterfaceType)
hasMappingForImageInterfaceType
public boolean hasMappingForImageInterfaceType(java.lang.String imageInterfaceType)
isImageInterfaceType
public boolean isImageInterfaceType(java.lang.String type)
getImageForImageableType
public Image getImageForImageableType(java.lang.String imageableType)
getImageClassForImageableType
public java.lang.Class getImageClassForImageableType(java.lang.String imageableType)
getImageableClassForImageType
public java.lang.Class getImageableClassForImageType(java.lang.String imageType)
Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.