|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Resource
Resource abstraction.
| Method Summary | |
|---|---|
void |
copyToStream(OutputStream outputStream)
Copies the resource to the output stream. |
long |
getLastModified()
Returns last modification date. |
long |
getLength()
Returns length of the resource |
String |
getLogicalName()
Returns path to the resource. |
void |
release()
Releases all system resources blocked by this resource :-) It HAS to be called after using the resource. |
| Method Detail |
|---|
long getLength()
void copyToStream(OutputStream outputStream)
throws IOException
outputStream -
IOExceptionvoid release()
long getLastModified()
String getLogicalName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||