Skip to content

BufferedImageResourceResolver

class BufferedImageResourceResolver
Implements: IResourceResolver
Package: dev.joid.lib.resource.resolver.impl · Module: core · Source: BufferedImageResourceResolver.java

The resolver that turns a BufferedImage into a resource; every resource of one image shares its decoded data.

ReturnsSignatureSummary
BufferedImageResourceResolver()Creates the resolver.

ReturnsSignatureSummary
booleansupports(Object input)If true, the input is a BufferedImage.
Resourceresolve(ResourceBuilder builder, Object input)Returns a resource of the image; while the image lives, every call shares the same decoded data, each in its own resource.

BufferedImageResourceResolver()

Creates the resolver.

boolean supports(Object input)

If true, the input is a BufferedImage.

Resource resolve(ResourceBuilder builder, Object input)

Returns a resource of the image; while the image lives, every call shares the same decoded data, each in its own resource.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page