public final class TLfnResourceMetadata extends Object
ILfnResourceLocation
.
The metadata is created when data is added to LuciadFusion Studio.
All properties in the metadata are optional.
Construction of a resource metadata is done through the Builder
design pattern mechanism.
Modifier and Type | Class and Description |
---|---|
static class |
TLfnResourceMetadata.TLfnResourceMetadataBuilder
Builder to create
TLfnResourceMetadata instances. |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getContentType()
Retrieves the content type of this resource.
|
Optional<Instant> |
getCreationTime()
Retrieves the time at which the resource was created.
|
Optional<Instant> |
getLastModifiedTime()
Retrieves the time at which the resource was last modified.
|
OptionalLong |
getSize()
Retrieves the size of the resource in bytes.
|
static TLfnResourceMetadata.TLfnResourceMetadataBuilder |
newBuilder() |
public Optional<Instant> getCreationTime()
public Optional<Instant> getLastModifiedTime()
public OptionalLong getSize()
public Optional<String> getContentType()
public static TLfnResourceMetadata.TLfnResourceMetadataBuilder newBuilder()