public interface ResourceParams
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETER_SEPARATOR
The separator used between parameters into serialized string.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activateAutoRefresh()
Activate AutoRefresh that will mark the
ResourceParams as 'Updated' to force the rebuild of the resource on next call. |
String |
getKey()
Return the dynamic key used to hold resources without static field.
|
boolean |
hasChanged()
Checks for resource changes.
|
void |
hasChanged(boolean changed)
Define if the resource has changed or not.
|
void |
parse(String... parameters)
Parse a string to initialize fields.
|
void |
setKey(String dynamicKey)
Define the dynamic key used to hold resources without static field.
|
static final String PARAMETER_SEPARATOR
void activateAutoRefresh()
ResourceParams as 'Updated' to force the rebuild of the resource on next call.boolean hasChanged()
void hasChanged(boolean changed)
changed - the changed argumentString getKey()
void setKey(String dynamicKey)
dynamicKey - the unique dynamic keyvoid parse(String... parameters)
parameters - split from resource properties fileCopyright © 2011–2015 JRebirth OSS. All rights reserved.