exjprop v0.1.0 Exjprop.Properties.File

Summary

Functions

Get the value of a property. See Exjprop.Properties.Stream for return values

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 file properties

Get a map of properties

Functions

get_property(file, property)

Get the value of a property. See Exjprop.Properties.Stream for return values

get_property!(file, property)

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

Raises an error if there is a problem fetching the property

load(prop_file)

Load the resource

loaded?(file)

Returns true/false if the properties have been loaded

new(path)

Create a new file properties

to_map(file)

Get a map of properties