|
Web Site | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Opens a resource, characterized by a name, for writing.
There also exists a concept ResourceFinder
that
finds Resource
s for reading.
ResourceFinder
Method Summary | |
java.io.OutputStream |
createResource(java.lang.String resourceName)
Create the designated resource. |
boolean |
deleteResource(java.lang.String resourceName)
Deletes the resource with the given name. |
Method Detail |
public java.io.OutputStream createResource(java.lang.String resourceName) throws java.io.IOException
resourceName
- Designates the resource; typically structured by slashes ("/") like "com/foo/pkg/Bar.class
"
OutputStream
are stored in the resource
java.io.IOException
- Problems creating the resourcepublic boolean deleteResource(java.lang.String resourceName)
false
if the resource could not be deleted
|
Web Site | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |