Class Resources


  • public abstract class Resources
    extends Object
    • Constructor Detail

      • Resources

        protected Resources()
    • Method Detail

      • openResource

        public static InputStream openResource​(String resource)
                                        throws IOException
        Opens different resources based on the scheme being used.

        Classpath

        Resources starting with classpath: have this prefix removed and all
        • classpath:
        Parameters:
        resource -
        Returns:
        Throws:
        IOException