Module openj9.dtfj

Class Container

java.lang.Object
com.ibm.java.diagnostics.utils.plugins.Entry
com.ibm.java.diagnostics.utils.plugins.Container

public class Container extends Entry
Represents a class file container in the file system, this could be a directory or a jar file.
  • Constructor Details

    • Container

      public Container(File file)
  • Method Details

    • getEntries

      public List<Entry> getEntries()
    • addEntry

      public void addEntry(Entry entry)
    • getEntry

      public <T extends Entry> T getEntry(File fileToScan)
    • getEntry

      public Entry getEntry(Entry entry)
      Recursively scan all nodes in the tree looking for the specified entry.
      Parameters:
      entry - entry to be searched for
      Returns:
    • getEntry

      public Entry getEntry(String name)