Class ZipFileResolver
java.lang.Object
com.ibm.j9ddr.corereaders.ZipFileResolver
- All Implemented Interfaces:
ILibraryResolver
Resolves entries in a zip file without extracting the file
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Instructs the resolver to dispose of any resources that it has created as part of the resolution process.getLibrary
(String fileName) Equivalent to getLibrary(fileName, false);getLibrary
(String fileName, boolean silent)
-
Constructor Details
-
ZipFileResolver
-
-
Method Details
-
getLibrary
- Specified by:
getLibrary
in interfaceILibraryResolver
- Parameters:
fileName
- Path of the modulesilent
- If true, suppress log messages if file cannot be found- Returns:
- File handle on library on local system
- Throws:
FileNotFoundException
-
getLibrary
Description copied from interface:ILibraryResolver
Equivalent to getLibrary(fileName, false);- Specified by:
getLibrary
in interfaceILibraryResolver
- Parameters:
fileName
- Path of the module- Returns:
- File handle on library on local system
- Throws:
FileNotFoundException
-
dispose
public void dispose()Description copied from interface:ILibraryResolver
Instructs the resolver to dispose of any resources that it has created as part of the resolution process.- Specified by:
dispose
in interfaceILibraryResolver
-