ILfnResourceLocation
.See: Description
Interface | Description |
---|---|
ILfnResourceConnector |
A resource connector allows LuciadFusion Studio to find information about (data) resources.
|
ILfnResourceLocation |
The location of a data resource that LuciadFusion Studio potentially can serve.
|
Class | Description |
---|---|
ALfnHierarchicalResourceLocation |
A resource location implementation that assumes hierarchical location encoding format.
|
TLfnResourceMetadata |
Metadata about the resource located at a
ILfnResourceLocation . |
TLfnResourceMetadata.TLfnResourceMetadataBuilder |
Builder to create
TLfnResourceMetadata instances. |
ILfnResourceLocation
.
You can plug in your own method of accessing resources using a ILfnResourceConnector
,
which acts as a factory for resource locations. Out of the box, a resource connector is available that supports file system locations.
Resource connectors and locations are only used by LuciadFusion Platform during discovery and access of resources.
When a model needs to be decoded, the resource location is encoded as a string
and handed to the model decoder's decode
method.
It is still up to the model decoder to support the transfer protocol for the encoded location.
In practice, non-filesystem locations are only supported for specific model decoders, or model decoders that are ILcdInputStreamFactoryCapable
.
Make sure to register an appropriate input stream factory if your resource location is not accessible by TLcdInputStreamFactory
.
See the developer guide for more information.
ILfnResourceConnector
,
ILfnResourceLocation