Interface ClassList

All Known Implementing Classes:
DiskClassList, JarClassList, ZipClassList

public interface ClassList
Abstracts out a collection of class files that can be read from a specific location. This location can be a starting filesystem folder, a ZIP or a JAR file.
Author:
indroneel
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this ClassList and releases any resources associated with it.
    Returns an iterable collection of ClassFile objects that can be read from this ClassList.
  • Method Details

    • getFiles

      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.
      Returns:
      an iterable collection of ClassFile objects that can be read from this ClassList
    • close

      void close()
      Closes this ClassList and releases any resources associated with it. After calling this method, the ClassList should not be used again.