Modifier and Type | Field and Description |
---|---|
private InputStream |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
private synchronized InputStream | |
public ByteBuffer | Returns: Resource data or null.Returns the Resource data as a ByteBuffer, but only if the input stream was implemented on top of a ByteBuffer. |
public byte[] | |
public Certificate[] | |
public CodeSigner[] | |
public abstract URL | |
public abstract int | |
public Exception | |
public abstract InputStream | |
public Manifest | |
public abstract String | |
public abstract URL |
cis | back to summary |
---|---|
private InputStream cis |
Resource | back to summary |
---|---|
public Resource() |
cachedInputStream | back to summary |
---|---|
private synchronized InputStream cachedInputStream() throws IOException |
getByteBuffer | back to summary |
---|---|
public ByteBuffer getByteBuffer() throws IOException Returns the Resource data as a ByteBuffer, but only if the input stream
was implemented on top of a ByteBuffer. Return
|
getBytes | back to summary |
---|---|
public byte[] getBytes() throws IOException Returns the Resource data as an array of bytes. |
getCertificates | back to summary |
---|---|
public Certificate[] getCertificates() Returns theCertificates for the Resource, or null if none. |
getCodeSigners | back to summary |
---|---|
public CodeSigner[] getCodeSigners() Returns the code signers for the Resource, or null if none. |
getCodeSourceURL | back to summary |
---|---|
public abstract URL getCodeSourceURL() Returns the CodeSource URL for the Resource. |
getContentLength | back to summary |
---|---|
public abstract int getContentLength() throws IOException Returns the length of the Resource data, or -1 if unknown. |
getDataError | back to summary |
---|---|
public Exception getDataError() Returns non-fatal reading error during data retrieval if there's any. For example, CRC error when reading a JAR entry. |
getInputStream | back to summary |
---|---|
public abstract InputStream getInputStream() throws IOException Returns an InputStream for reading the Resource data. |
getManifest | back to summary |
---|---|
public Manifest getManifest() throws IOException Returns the Manifest for the Resource, or null if none. |
getName | back to summary |
---|---|
public abstract String getName() Returns the name of the Resource. |
getURL | back to summary |
---|---|
public abstract URL getURL() Returns the URL of the Resource. |