Class ClasspathResource

  • All Implemented Interfaces:
    Resource

    public final class ClasspathResource
    extends java.lang.Object
    implements Resource
    • Constructor Summary

      Constructors 
      Constructor Description
      ClasspathResource​(java.lang.String path)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream getInputStream()  
      • Methods inherited from class java.lang.Object

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

      • ClasspathResource

        public ClasspathResource​(java.lang.String path)
    • Method Detail

      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        Specified by:
        getInputStream in interface Resource
        Throws:
        java.io.IOException