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.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
| BufferedImageResourceResolver() | Creates the resolver. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
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. |
Creation details
Section titled “Creation details”BufferedImageResourceResolver
Section titled “BufferedImageResourceResolver”BufferedImageResourceResolver()
Creates the resolver.
Method details
Section titled “Method details”supports
Section titled “supports”boolean supports(Object input)
If true, the input is a BufferedImage.
resolve
Section titled “resolve”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
