java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.tool.Archive
Alle implementierten Schnittstellen:
Closeable, AutoCloseable
Bekannte direkte Unterklassen:
JrtFileSystem

public class Archive extends Object implements Closeable
Used as a zip file cache.
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • cacheTypes

      protected void cacheTypes(String packageName, String typeName)
    • getArchiveFileObject

      public ArchiveFileObject getArchiveFileObject(String fileName, String module, Charset charset)
    • contains

      public boolean contains(String entryName)
    • allPackages

      public Set<String> allPackages()
    • getTypes

      public List<String[]> getTypes(String packageName)
      Returns an array of String - the array contains exactly two elements. The first element is the name of the type and the second being the module that contains the type. For a regular Jar archive, the module element will be null. This is applicable only to Jimage files where types are contained by multiple modules.
    • flush

      public void flush()
    • close

      public void close()
      Angegeben von:
      close in Schnittstelle AutoCloseable
      Angegeben von:
      close in Schnittstelle Closeable
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object