ResourceCache.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| public byte[] | |
| public void |
| clear | back to summary |
|---|---|
| public void clear(String resourceId) Remove a cache entry.
| |
| isCached | back to summary |
|---|---|
| public boolean isCached(String resourceId) Allows to query if a resource with the given id is present within the local cache.
| |
| read | back to summary |
|---|---|
| public byte[] read(String resourceId) Reads the given resource, identified by the resourceId, from the cache.
| |
| write | back to summary |
|---|---|
| public void write(String resourceId, byte[] data) throws IOException Write the given byte array to the format store and register it on the given resource ID.
| |