|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jcrontab.data.FileOpener
This class get an InputStream using the right method, File or getResourceAsStream, The idea of this way of openning files is from Sergey Udalstov
| Constructor Summary | |
FileOpener()
|
|
| Method Summary | |
java.io.InputStream |
getInputStream(java.lang.Class cl,
java.lang.String name)
This method is the reason of this class and basically loads the File with the given method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileOpener()
| Method Detail |
public java.io.InputStream getInputStream(java.lang.Class cl,
java.lang.String name)
throws java.lang.Exception
name - String the name of the file to load
java.lang.Exception - the thrown exceptions
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||