|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.security12.sun.misc.Resource
This class is used to represent a Resource that has been loaded from the class path.
| Constructor Summary | |
Resource()
|
|
| Method Summary | |
byte[] |
getBytes()
Returns the Resource data as an array of bytes. |
Certificate[] |
getCertificates()
Returns theCertificates for the Resource, or null if none. |
abstract URL |
getCodeSourceURL()
Returns the CodeSource URL for the Resource. |
abstract int |
getContentLength()
Returns the length of the Resource data, or -1 if unknown. |
abstract InputStream |
getInputStream()
Returns an InputStream for reading the Resource data. |
Manifest |
getManifest()
Returns the Manifest for the Resource, or null if none. |
abstract String |
getName()
Returns the name of the Resource. |
abstract URL |
getURL()
Returns the URL of the Resource. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Resource()
| Method Detail |
public abstract String getName()
public abstract URL getURL()
public abstract URL getCodeSourceURL()
public abstract InputStream getInputStream()
throws IOException
public abstract int getContentLength()
throws IOException
public byte[] getBytes()
throws IOException
public Manifest getManifest()
throws IOException
public Certificate[] getCertificates()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||