public class FileResource extends Object implements InputResource
| Constructor and Description |
|---|
FileResource(File aFile)
Constructs the resource.
|
public FileResource(File aFile)
aFile - File to read.public InputStream getInputStream() throws IOException
InputResourcegetInputStream in interface InputResourceIOException - in case the resource cannot be found.Copyright © 2013. All rights reserved.