Class Archive
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.tool.Archive
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
JrtFileSystem
Used as a zip file cache.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
cacheTypes
(String packageName, String typeName) void
close()
boolean
void
flush()
getArchiveFileObject
(String fileName, String module, Charset charset) Returns an array of String - the array contains exactly two elements.toString()
-
Field Details
-
UNKNOWN_ARCHIVE
-
packagesCache
-
-
Constructor Details
-
Archive
protected Archive() -
Archive
- Throws:
ZipException
IOException
-
-
Method Details
-
cacheTypes
-
getArchiveFileObject
-
contains
-
allPackages
-
getTypes
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()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
toString
-