public interface Resource extends Named<Integer>
Application
provides several Resource
s, 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
Resource s 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
Resource s file. |
getDescription, getName
getId
ResourceType getResourceType()
Resource
.byte[] getBytes()
Resource
.int getSize()
Resource
.File getCachedFile()
Resource
s file.void setCachedFile(File cachedFile)
Resource
s file.cachedFile
- the cached fileString getCheckSum()
Copyright © 2011–2020 aiticon GmbH. All rights reserved.