@Component public class InputStreamFactory extends Object
| Constructor and Description |
|---|
InputStreamFactory() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getFileInputStream(String fileName)
Method to get a file input stream.
|
public InputStream getFileInputStream(String fileName) throws IOException
fileName - the name of the file to openIOExceptionCopyright © 2019. All rights reserved.