|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClasspathResource
Models a ClasspathResource contained in some archive thereof included in a classpath.
| Method Summary | |
|---|---|
File |
file()
Returns the resource as a file |
String |
name()
Returns the name of the resource. |
String |
path()
Returns the path of the resource, relatively to the containing archive. |
InputStream |
stream()
Returns the resource as a stream. |
| Method Detail |
|---|
String name()
String path()
InputStream stream()
throws Exception
Exception - if the stream cannot be returned
File file()
throws Exception
Exception - if the file cannot be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||