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
bufferFields declared in class com.ibm.dtfj.utils.file.SimpleFileManager
managedFileFields declared in class com.ibm.dtfj.utils.file.FileManager
logger, MIN_CORE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidextract(ManagedImageSource file, File todir) Extracts the specified core file to the specified directoryvoidReturns all image sources found in this zip filegetStream(ManagedImageSource source) Methods declared in class com.ibm.dtfj.utils.file.CompressedFileManager
checkDirectoryToExtractTo, extractEntry, getImageSourceMethods declared in class com.ibm.dtfj.utils.file.SimpleFileManager
getStreamMethods 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:
IOExceptionZipException
-
getStream
- Throws:
IOException
-
extract
- Throws:
IOException
-