Class BundleSchemeResourceFinderFactory.BundleSchemeScanner

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean accessed
      Marks this iterator as iterated after execution of open() method.
      private boolean iterated
      Marks this iterator as iterated after execution of next() method.
      private java.net.URI uri  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private BundleSchemeScanner​(java.net.URI uri)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.lang.String next()  
      java.io.InputStream open()
      Open current resource.
      void reset()
      Reset the ResourceFinder instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Field Detail

      • uri

        private final java.net.URI uri
      • accessed

        private boolean accessed
        Marks this iterator as iterated after execution of open() method. Together with iterated, this field determines a returned value of hasNext().
      • iterated

        private boolean iterated
        Marks this iterator as iterated after execution of next() method. Together with accessed, this field determines a returned value of hasNext().
    • Constructor Detail

      • BundleSchemeScanner

        private BundleSchemeScanner​(java.net.URI uri)
    • Method Detail

      • hasNext

        public boolean hasNext()
      • next

        public java.lang.String next()
      • open

        public java.io.InputStream open()
        Description copied from interface: ResourceFinder
        Open current resource.
        Returns:
        input stream from which current resource can be loaded.
      • reset

        public void reset()
        Description copied from interface: ResourceFinder
        Reset the ResourceFinder instance.

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