| java.lang.Object | |
| ↳ | sun.misc.Resource |
This class is used to represent a Resource that has been loaded from the class path.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the Resource data as a ByteBuffer, but only if the input stream
was implemented on top of a ByteBuffer.
| |||||||||||
Returns the Resource data as an array of bytes.
| |||||||||||
Returns theCertificates for the Resource, or null if none.
| |||||||||||
Returns the code signers for the Resource, or null if none.
| |||||||||||
Returns the CodeSource URL for the Resource.
| |||||||||||
Returns the length of the Resource data, or -1 if unknown.
| |||||||||||
Returns an InputStream for reading the Resource data.
| |||||||||||
Returns the Manifest for the Resource, or null if none.
| |||||||||||
Returns the name of the Resource.
| |||||||||||
Returns the URL of the Resource.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Returns the Resource data as a ByteBuffer, but only if the input stream was implemented on top of a ByteBuffer. Return null otherwise.
| IOException |
|---|
Returns the length of the Resource data, or -1 if unknown.
| IOException |
|---|
Returns an InputStream for reading the Resource data.
| IOException |
|---|
Returns the Manifest for the Resource, or null if none.
| IOException |
|---|