Package com.jackmeng.core.util
Class use_ResourceFetcher
java.lang.Object
com.jackmeng.core.util.use_ResourceFetcher
-
Field Summary
Modifier and TypeFieldDescriptionstatic final use_ResourceFetcher
private final WeakHashMap<String,
String> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFromAsFile
(String path) getFromAsImage
(String path) getFromAsImageIcon
(String path) getFromHLib
(String zip, String zippedFileName) load_n_parse_hll
(String path, Object... args) rz_fromImageIcon
(String path, int expectWidth, int expectHeight)
-
Field Details
-
fetcher
-
lazyResource_cache
-
lazyHLL_Cache
-
-
Constructor Details
-
use_ResourceFetcher
private use_ResourceFetcher()
-
-
Method Details
-
getFromAsImageIcon
- Parameters:
path
-- Returns:
- ImageIcon
-
rz_fromImageIcon
-
getFromAsImage
-
load_n_parse_hll
@has_ErrorCode(code="ERR_SCHEMA_01", description="Emitted by this method to show an incorrect loading schema. Schema loading is mostly likely to do with loading of important files from the bundled resource folder") public String load_n_parse_hll(String path, Object... args) -
getFromAsFile
- Parameters:
path
-- Returns:
- File
-
getFromHLib
- Parameters:
zip
-zippedFileName
-- Returns:
- File
-