◆ getHtm()
String com.premium.game.cache.HtmCache.getHtm |
( |
String |
filename | ) |
|
|
inline |
Return content of html message given by filename.
- Parameters
-
filename | : Desired html filename. |
- Returns
- String : Returns content if filename exists, otherwise returns null.
◆ getHtmForce()
String com.premium.game.cache.HtmCache.getHtmForce |
( |
String |
filename | ) |
|
|
inline |
Return content of html message given by filename. In case filename does not exist, returns notice.
- Parameters
-
filename | : Desired html filename. |
- Returns
- String : Returns content if filename exists, otherwise returns notice.
◆ isLoadable()
boolean com.premium.game.cache.HtmCache.isLoadable |
( |
String |
path | ) |
|
|
inline |
Check if an HTM exists and can be loaded. If so, it is loaded into HtmCache.
- Parameters
-
- Returns
- true if the HTM can be loaded.
◆ reload()
void com.premium.game.cache.HtmCache.reload |
( |
| ) |
|
|
inline |
◆ reloadPath()
void com.premium.game.cache.HtmCache.reloadPath |
( |
String |
path | ) |
|
|
inline |
Reloads given directory. All sub-directories are parsed, all html files are loaded to HtmCache.
- Parameters
-
path | : Directory to be reloaded. |
The documentation for this class was generated from the following file:
- /home/master/Documents/l2/servers/source/l2premium/L2JPremium_GameServer/src/com/premium/game/cache/HtmCache.java