public interface JSBundleAsset extends JSBundleObject
JSBundleObject
. These contents can be
requested from external apps by using a portal URL or InputStream
.Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
Returns the asset's contents.
|
java.lang.String |
getURL()
Returns the asset's public URL.
|
getId, getName
java.io.InputStream getInputStream() throws java.io.IOException
InputStream
that allows reading the bytes inside the
assetjava.io.IOException
- if an IO exception occurredjava.lang.String getURL()