package Ġio . github . se ven par adig ms . ab ac . security . support . config Ċ Ċ import Ġorg . springframework . beans . factory . config . Yaml Properties Factory Bean Ċ import Ġorg . springframework . core . env . Properties Property Source Ċ import Ġorg . springframework . core . env . Property Source Ċ import Ġorg . springframework . core . io . support . Encoded Resource Ċ import Ġorg . springframework . core . io . support . Property Source Factory Ċ Ċ class ĠYaml Property Source Factory Ġ: ĠProperty Source Factory Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġcreate Property Source ( name : ĠString ?, Ġresource : ĠEn coded Resource ): ĠProperty Source < *> Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġfactory Ġ= ĠYaml Properties Factory Bean () ĊĠĠĠĠĠĠĠ Ġfactory . set Resources ( resource . resource ) ĊĊĠĠĠĠĠĠĠ Ġval Ġproperties Ġ= Ġfactory .` object ` ĊĊĠĠĠĠĠĠĠ Ġreturn ĠProperties Property Source ( resource . resource . filename !! , Ġproperties !! ) ĊĠĠĠ Ġ} Ċ }