|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.io.FileResource
public class FileResource
Resource implemention for reading from a file.
| Constructor Summary | |
|---|---|
FileResource(java.io.File aFile)
Constructs the resource. |
|
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream()
Gets the input stream to the resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileResource(java.io.File aFile)
aFile - File to read.| Method Detail |
|---|
public java.io.InputStream getInputStream()
throws java.io.IOException
InputResource
getInputStream in interface InputResourcejava.io.IOException - in case the resource cannot be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||