|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileSystem
This service is used by components that wants to lookup a File resource from the application folder.
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
|
| Method Summary | |
|---|---|
java.io.File |
getBasedir()
Return the base folder used by the application |
java.io.File |
getFile(java.lang.String fileURL)
Used to retrieve a specific file in the application context |
java.io.InputStream |
getResource(java.lang.String url)
to retrieve a resource. |
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
java.io.InputStream getResource(java.lang.String url)
throws java.io.IOException
url - the url of the resource
java.io.IOException - if the resource could not be accessed
java.io.File getFile(java.lang.String fileURL)
throws java.io.FileNotFoundException
fileURL - file
java.io.FileNotFoundException - if the file cannot be found/read
java.io.File getBasedir()
throws java.io.FileNotFoundException
java.io.FileNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||