Interface GalleryProcessor
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Implementing Classes:
DefaultGalleryProcessor
,NullGalleryProcessor
public interface GalleryProcessor extends org.apache.wicket.util.io.IClusterable
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_GALLERY_PROCESSOR_ID
static String
GALLERY_PROCESSOR_ID
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Dimension
getDesiredResourceDimension(Node node)
default ScalingParameters
getScalingParameters(Node variantNode)
Map<String,ScalingParameters>
getScalingParametersMap()
Deprecated.UsegetScalingParameters(Node)
insteadvoid
initGalleryResource(Node node, InputStream data, String mimeType, String fileName, Calendar lastModified)
boolean
isUpscalingEnabled(Node node)
Deprecated.UseScalingParameters.isUpscaling()
insteadvoid
makeImage(Node node, InputStream istream, String mimeType, String filename)
-
-
-
Field Detail
-
GALLERY_PROCESSOR_ID
static final String GALLERY_PROCESSOR_ID
- See Also:
- Constant Field Values
-
DEFAULT_GALLERY_PROCESSOR_ID
static final String DEFAULT_GALLERY_PROCESSOR_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
makeImage
void makeImage(Node node, InputStream istream, String mimeType, String filename) throws GalleryException, RepositoryException
- Throws:
GalleryException
RepositoryException
-
initGalleryResource
void initGalleryResource(Node node, InputStream data, String mimeType, String fileName, Calendar lastModified) throws GalleryException, RepositoryException
- Throws:
GalleryException
RepositoryException
-
getDesiredResourceDimension
Dimension getDesiredResourceDimension(Node node) throws GalleryException, RepositoryException
- Throws:
GalleryException
RepositoryException
-
isUpscalingEnabled
@Deprecated boolean isUpscalingEnabled(Node node) throws GalleryException, RepositoryException
Deprecated.UseScalingParameters.isUpscaling()
instead- Throws:
GalleryException
RepositoryException
-
getScalingParametersMap
@Deprecated Map<String,ScalingParameters> getScalingParametersMap() throws RepositoryException
Deprecated.UsegetScalingParameters(Node)
instead- Throws:
RepositoryException
-
getScalingParameters
default ScalingParameters getScalingParameters(Node variantNode)
-
-