Class CompositeArchive

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<Archive> archives  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream getBytecode​(java.lang.String className)  
      java.util.Iterator<Archive.Entry> iterator()  
      java.lang.Class<?> loadClass​(java.lang.String className)  
      • Methods inherited from class java.lang.Object

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

        forEach, spliterator
    • Field Detail

      • archives

        private final java.util.List<Archive> archives
    • Constructor Detail

      • CompositeArchive

        public CompositeArchive​(Archive... archives)
      • CompositeArchive

        public CompositeArchive​(java.lang.Iterable<Archive> archives)
    • Method Detail

      • getBytecode

        public java.io.InputStream getBytecode​(java.lang.String className)
                                        throws java.io.IOException,
                                               java.lang.ClassNotFoundException
        Specified by:
        getBytecode in interface Archive
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • loadClass

        public java.lang.Class<?> loadClass​(java.lang.String className)
                                     throws java.lang.ClassNotFoundException
        Specified by:
        loadClass in interface Archive
        Throws:
        java.lang.ClassNotFoundException
      • iterator

        public java.util.Iterator<Archive.Entry> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<Archive.Entry>