Module openj9.dtfj

Class JavaCoreFileReader

java.lang.Object
java.io.Reader
java.io.InputStreamReader
com.ibm.dtfj.javacore.parser.framework.input.JavaCoreFileReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable

public class JavaCoreFileReader extends InputStreamReader
  • Constructor Details

    • JavaCoreFileReader

      public JavaCoreFileReader(File input) throws FileNotFoundException
      Gets constructed only if a valid file is passed.
      Parameters:
      input - java.io.File to read.
      Throws:
      FileNotFoundException - if invalid file is passed or file not found.
  • Method Details

    • getExtension

      public String getExtension()
      Returns:
      extension of file as a String or null if none exists.
    • getSource

      public Object getSource()
      Returns:
      Source for the reader