Class ZipFileManager
java.lang.Object
com.ibm.dtfj.utils.file.FileManager
com.ibm.dtfj.utils.file.SimpleFileManager
com.ibm.dtfj.utils.file.CompressedFileManager
com.ibm.dtfj.utils.file.ZipFileManager
-
Field Summary
Fields declared in class com.ibm.dtfj.utils.file.CompressedFileManager
buffer
Fields declared in class com.ibm.dtfj.utils.file.SimpleFileManager
managedFile
Fields declared in class com.ibm.dtfj.utils.file.FileManager
logger, MIN_CORE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
extract
(ManagedImageSource file, File todir) Extracts the specified core file to the specified directoryvoid
Returns all image sources found in this zip filegetStream
(ManagedImageSource source) Methods declared in class com.ibm.dtfj.utils.file.CompressedFileManager
checkDirectoryToExtractTo, extractEntry, getImageSource
Methods declared in class com.ibm.dtfj.utils.file.SimpleFileManager
getStream
Methods declared in class com.ibm.dtfj.utils.file.FileManager
createTempDir, fileExists, genJavacoreName, getJavaCoreNameFromPHD, getManager, isArchive
-
Constructor Details
-
ZipFileManager
-
-
Method Details
-
getImageSources
Returns all image sources found in this zip file- Returns:
- all the recognised images
- Throws:
IOException
- thrown for problems reading the zip, or by individual image factories
-
extract
Extracts the specified core file to the specified directory- Parameters:
file
-- Throws:
IOException
ZipException
-
getStream
- Throws:
IOException
-
extract
- Throws:
IOException
-