public interface FileOperationProvider
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
readFile(java.lang.String filePath)
Gets a
InputStream for reading the content of the file with the specified path. |
java.io.InputStream readFile(java.lang.String filePath)
throws java.io.IOException
InputStream for reading the content of the file with the specified path.filePath - the system-dependent file path.InputStream that can be read to get the file content.java.io.IOException - if the file does not exist, is a directory rather than a regular
file, or for some other reason cannot be opened for reading.Copyright © 2014-2021 Trustin Lee. All Rights Reserved.