Skip to content

FileAssetLocator

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

The built-in locator that turns a File into a FileAsset.

ReturnsSignatureSummary
FileAssetLocator()Creates the locator.

ReturnsSignatureSummary
booleansupports(Object handle)If true, handle is a File.
Assetlocate(Object handle)Returns the FileAsset of the file.

FileAssetLocator()

Creates the locator.

boolean supports(Object handle)

If true, handle is a File.

Asset locate(Object handle)

Returns the FileAsset of the file.


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