exjprop v1.0.2 Exjprop.Properties.Stream View Source

Link to this section Summary

Functions

Returns {:ok, value} where value may be nil if the property is empty or does not exist

Get the value of a property. Returns nil if the property does not exist

Load the resource

Returns true/false if the properties have been loaded

Create a new stream properties

Get the properties as a map

Link to this section Functions

Link to this function get_property(stream, property) View Source

Returns {:ok, value} where value may be nil if the property is empty or does not exist

Link to this function get_property!(props, property) View Source

Get the value of a property. Returns nil if the property does not exist.

Raises a ResourceNotLoadedException if the file has not be loaded yet.

Load the resource

Returns true/false if the properties have been loaded

Create a new stream properties

Get the properties as a map