|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A resource is an object which have a location and can be read using an input stream and might be signed. This resource might be read by implementing modules from databases, filesystems, directory services or any other sources as long as it is transparent to the user of this interface.
| Method Summary | |
byte[] |
getBytes()
Get a resource as a byte array. |
java.security.cert.Certificate[] |
getCertificates()
Get resource Certificates if the resource have been signed. |
java.net.URL |
getCodeSource()
Get the code source of a resource. |
java.lang.String |
getPath()
Get resource path. |
java.io.InputStream |
getStream()
Get a resource as stream. |
java.net.URL |
getURL()
Get a resource URL. |
| Method Detail |
public java.lang.String getPath()
public java.io.InputStream getStream()
public byte[] getBytes()
public java.net.URL getURL()
getCodeSource() which should return the file/folder source.
public java.net.URL getCodeSource()
public java.security.cert.Certificate[] getCertificates()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||