Class FilteredArchive

  • All Implemented Interfaces:
    java.lang.Iterable<Archive.Entry>, Archive

    public class FilteredArchive
    extends java.lang.Object
    implements Archive
    Version:
    $Rev$ $Date$
    • 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

      • archive

        private final Archive archive
      • filter

        private final Filter filter
    • Constructor Detail

      • FilteredArchive

        public FilteredArchive​(Archive archive,
                               Filter filter)
    • 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>