Class ResourceStreamSource

  • All Implemented Interfaces:
    StreamSource

    public class ResourceStreamSource
    extends java.lang.Object
    implements StreamSource
    Author:
    Tom Baeyens
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceStreamSource​(java.lang.String resource)  
      ResourceStreamSource​(java.lang.String resource, java.lang.ClassLoader classLoader)  
    • Method Summary

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

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

      • ResourceStreamSource

        public ResourceStreamSource​(java.lang.String resource)
      • ResourceStreamSource

        public ResourceStreamSource​(java.lang.String resource,
                                    java.lang.ClassLoader classLoader)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object