java.lang.Object
com.ibm.j9ddr.corereaders.CoreReader
Factory for ICoreReader implementations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
getFileHeader
(String path) static byte[]
static ICore
readCoreFile
(String path) Create a ICore object for a core file.static ICore
-
Constructor Details
-
CoreReader
public CoreReader()
-
-
Method Details
-
readCoreFile
Create a ICore object for a core file.- Parameters:
file
- File object referencing core file.- Returns:
- ICoreReader object or NULL if no core reader will accept the supplied file
- Throws:
IOException
- If there's an I/O problem reading the core file
-
readCoreFile
- Throws:
IOException
-
getFileHeader
- Throws:
IOException
-
getFileHeader
- Throws:
IOException
-