Class AbstractInjectionResource.StreamEnumeration

  • All Implemented Interfaces:
    java.util.Enumeration<java.io.InputStream>
    Enclosing class:
    AbstractInjectionResource

    protected class AbstractInjectionResource.StreamEnumeration
    extends java.lang.Object
    implements java.util.Enumeration<java.io.InputStream>
    Auxiliary enumeration to sequence input streams.
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamEnumeration​(java.util.List<java.io.InputStream> streams)  
    • Method Summary

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

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

        asIterator
    • Constructor Detail

      • StreamEnumeration

        public StreamEnumeration​(java.util.List<java.io.InputStream> streams)
    • Method Detail

      • hasMoreElements

        public boolean hasMoreElements()
        Specified by:
        hasMoreElements in interface java.util.Enumeration<java.io.InputStream>
      • nextElement

        public java.io.InputStream nextElement()
        Specified by:
        nextElement in interface java.util.Enumeration<java.io.InputStream>