Skip to content

StreamAssetLocator

class StreamAssetLocator
Implements: IAssetLocator
Package: dev.joid.lib.asset.locator.impl · Module: core · Source: StreamAssetLocator.java

The built-in locator that turns an InputStream into a StreamAsset.

ReturnsSignatureSummary
StreamAssetLocator()Creates the locator.

ReturnsSignatureSummary
booleansupports(Object handle)If true, handle is an InputStream.
Assetlocate(Object handle)Returns the StreamAsset of the stream.

StreamAssetLocator()

Creates the locator.

boolean supports(Object handle)

If true, handle is an InputStream.

Asset locate(Object handle)

Returns the StreamAsset of the stream.


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