// Load Load properties from a file into the properties set
Load Load properties from a file into the properties set
// Load Load properties from a file into the properties set
func (p *Properties) Load(file string) error {
	props, err := properties.LoadFile(file, properties.UTF8)
	if err != nil {
		return err
	}
	props.DisableExpansion = true
	for _, key := range props.Keys() {
		p.m[key] = props.GetString(key, "")
	}
	return nil
}
func ( p * Properties ) Load ( file string ) error { props , err := properties . LoadFile ( file , properties . UTF8 ) if err != nil { return err } props . DisableExpansion = true for _ , key := range props . Keys ( ) { p . m [ key ] = props . GetString ( key , " " ) } return nil }
Load Load properties from a file into the properties set
Load Load properties from a file into the properties set