public interface Resource extends Named<Integer>
Application provides several Resources, which are needed to load and execute the Application. A
Resource is created from the physical files that come with a Application.ResourceType| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Returns the byte data of the
Resource. |
File |
getCachedFile()
Returns a cached version of the
Resources file. |
String |
getCheckSum()
Returns the checksum of the byte data
|
ResourceType |
getResourceType()
Returns the type of this
Resource. |
int |
getSize()
Returns the size (in bytes) of this
Resource. |
void |
setCachedFile(File cachedFile)
Sets the cached version of the
Resources file. |
getDescription, getNamegetIdResourceType getResourceType()
Resource.byte[] getBytes()
Resource.int getSize()
Resource.File getCachedFile()
Resources file.void setCachedFile(File cachedFile)
Resources file.cachedFile - the cached fileString getCheckSum()
Copyright © 2011–2019 aiticon GmbH. All rights reserved.