java.lang.Object
java.io.Reader
java.io.InputStreamReader
com.ibm.dtfj.javacore.parser.framework.input.JavaCoreFileReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionJavaCoreFileReader
(File input) Gets constructed only if a valid file is passed. -
Method Summary
Methods declared in class java.io.InputStreamReader
close, getEncoding, read, read, read, ready
Methods declared in class java.io.Reader
mark, markSupported, nullReader, read, reset, skip, transferTo
-
Constructor Details
-
JavaCoreFileReader
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
- Returns:
- extension of file as a String or null if none exists.
-
getSource
- Returns:
- Source for the reader
-