Class ResourceFinder

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public final class ResourceFinder
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceFinder​(java.lang.String moduleName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.net.URL findResource​(java.lang.String path)  
      • Methods inherited from class java.lang.Object

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

      • ResourceFinder

        public ResourceFinder​(java.lang.String moduleName)
    • Method Detail

      • findResource

        public java.net.URL findResource​(java.lang.String path)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException