Class GeoImageFactory
- java.lang.Object
-
- com.vividsolutions.jump.workbench.imagery.graphic.AbstractGraphicImageFactory
-
- com.vividsolutions.jump.workbench.imagery.geoimg.GeoImageFactory
-
- All Implemented Interfaces:
ReferencedImageFactory
,Prioritized
public class GeoImageFactory extends AbstractGraphicImageFactory
A factory for referenced images.
-
-
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 GeoImageFactory()
GeoImageFactory(Object loader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferencedImage
createImage(String location)
String
getDescription()
Object
getLoader()
int
getPriority()
static int
getPriority(Object loader)
String
getTypeName()
boolean
isAvailable(WorkbenchContext context)
static String
loaderString(Object loader)
prepare a proper description of a forced loader currently "(description, version x.x, vendor)"void
setLoader(Object loader)
-
Methods inherited from class com.vividsolutions.jump.workbench.imagery.graphic.AbstractGraphicImageFactory
addExtension, addExtensions, getExtensions, isEditableImage
-
-
-
-
Constructor Detail
-
GeoImageFactory
public GeoImageFactory()
-
GeoImageFactory
public GeoImageFactory(Object loader)
-
-
Method Detail
-
setLoader
public void setLoader(Object loader)
-
getLoader
public Object getLoader()
-
getTypeName
public String getTypeName()
- Specified by:
getTypeName
in interfaceReferencedImageFactory
- Specified by:
getTypeName
in classAbstractGraphicImageFactory
-
createImage
public ReferencedImage createImage(String location) throws Exception
- Specified by:
createImage
in interfaceReferencedImageFactory
- Specified by:
createImage
in classAbstractGraphicImageFactory
- Throws:
Exception
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceReferencedImageFactory
- Overrides:
getDescription
in classAbstractGraphicImageFactory
-
loaderString
public static String loaderString(Object loader)
prepare a proper description of a forced loader currently "(description, version x.x, vendor)"
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfacePrioritized
- Overrides:
getPriority
in classAbstractGraphicImageFactory
-
getPriority
public static int getPriority(Object loader)
-
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
-
-