org.gridkit.jvmtool.spi.parsers
Class FileInputStreamSource
java.lang.Object
org.gridkit.jvmtool.spi.parsers.FileInputStreamSource
- All Implemented Interfaces:
- InputStreamSource
public class FileInputStreamSource
- extends Object
- implements InputStreamSource
Parser may try to downcast InputStreamSource to this implementation
if it supports only file based IO.
- Author:
- Alexey Ragozin (alexey.ragozin@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileInputStreamSource
public FileInputStreamSource(File file)
getSourceFile
public File getSourceFile()
open
public InputStream open()
throws IOException
- Specified by:
open in interface InputStreamSource
- Throws:
IOException
Copyright © 2019. All Rights Reserved.