public static PropertiesSettings from ( String resource , ClassLoader classLoader ) throws IOException { URL url = classLoader . getResource ( resource ) ; return from ( url ) ; }
Creates a new PropertiesSettings from the given resource in the classpath of the given ClassLoader .