Class Resources


  • public class Resources
    extends java.lang.Object
    Consider this class package private. Helps load resources.
    Since:
    1.12
    • Constructor Summary

      Constructors 
      Constructor Description
      Resources()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.InputStream getInputStream​(java.lang.String name)
      Opens the given named resource from the given class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Resources

        public Resources()
    • Method Detail

      • getInputStream

        public static java.io.InputStream getInputStream​(java.lang.String name)
        Opens the given named resource from the given class.
        Parameters:
        name - The resource name.
        Returns:
        An input stream.