Class ZipClassList

java.lang.Object
dxt.scanpath.v1.support.ZipClassList
All Implemented Interfaces:
ClassList

public class ZipClassList extends Object implements ClassList
A collection of Java class files contained within a ZIP file.
Author:
indroneel
  • Constructor Details

    • ZipClassList

      public ZipClassList(ZipFile file)
      Creates a new ZipClassList instance.
      Parameters:
      file - the ZIP file that contains the class files
  • Method Details

    • getFiles

      public Iterable<ClassFile> getFiles()
      Returns an iterable collection of ClassFile objects that can be read from this ClassList. The returned collection is not guaranteed to be sorted in any particular order.
      Specified by:
      getFiles in interface ClassList
      Returns:
      an iterable collection of ClassFile objects that can be read from this ClassList
    • close

      public void close()
      Closes this ClassList and releases any resources associated with it. After calling this method, the ClassList should not be used again.
      Specified by:
      close in interface ClassList
    • toString

      public String toString()
      Overrides:
      toString in class Object