Class CommonsImageFactory
- java.lang.Object
-
- com.vividsolutions.jump.workbench.imagery.graphic.AbstractGraphicImageFactory
-
- com.vividsolutions.jump.workbench.imagery.graphic.CommonsImageFactory
-
- All Implemented Interfaces:
ReferencedImageFactory
,Prioritized
public class CommonsImageFactory extends AbstractGraphicImageFactory
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.workbench.imagery.graphic.AbstractGraphicImageFactory
extensions
-
Fields inherited from interface com.vividsolutions.jump.workbench.model.Prioritized
COMPARATOR, NOPRIORITY
-
Fields inherited from interface com.vividsolutions.jump.workbench.imagery.ReferencedImageFactory
REGISTRY_CLASSIFICATION
-
-
Constructor Summary
Constructors Constructor Description CommonsImageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferencedImage
createImage(String location)
String
getTypeName()
boolean
isAvailable(WorkbenchContext context)
-
Methods inherited from class com.vividsolutions.jump.workbench.imagery.graphic.AbstractGraphicImageFactory
addExtension, addExtensions, getDescription, getExtensions, getPriority, isEditableImage
-
-
-
-
Method Detail
-
getTypeName
public String getTypeName()
- Specified by:
getTypeName
in interfaceReferencedImageFactory
- Specified by:
getTypeName
in classAbstractGraphicImageFactory
-
createImage
public ReferencedImage createImage(String location)
- Specified by:
createImage
in interfaceReferencedImageFactory
- Specified by:
createImage
in classAbstractGraphicImageFactory
-
isAvailable
public boolean isAvailable(WorkbenchContext context)
- Specified by:
isAvailable
in interfaceReferencedImageFactory
- Specified by:
isAvailable
in classAbstractGraphicImageFactory
- Parameters:
context
- can be null, depending on the implementation (e.g. not null for MrSid driver)- Returns:
- true if it is available
-
-