Interface ResourceFinder

    • Method Detail

      • open

        java.io.InputStream open()
        Open current resource.
        Returns:
        input stream from which current resource can be loaded.
      • close

        void close()

        Release allocated/opened resources (such as streams). When the resource finder is closed no other method should be invoked on it.

        Specified by:
        close in interface java.lang.AutoCloseable
        Since:
        2.19
      • reset

        void reset()
        Reset the ResourceFinder instance.

        Upon calling this method the implementing class MUST reset its internal state to the initial state.

      • remove

        void remove()

        This operation is not supported by ResourceFinder & throws UnsupportedOperationException when invoked.

        Specified by:
        remove in interface java.util.Iterator<java.lang.String>