public class FileLoader
extends java.lang.Object
Constructor and Description |
---|
FileLoader() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheEdgeImages(java.lang.String skinImgDir,
java.lang.String baseURL)
Caches a set of edge images derived from a base image.
|
static void |
cacheEdgeImages(java.lang.String skinImgDir,
java.lang.String[] baseURLs,
java.lang.String[] edges)
Caches a set of edge images derived from a base image.
|
static void |
cacheEdgeImages(java.lang.String skinImgDir,
java.lang.String baseURL,
java.lang.String edges)
Caches a set of edge images derived from a base image.
|
static void |
cacheEdgeImages(java.lang.String skinImgDir,
java.lang.String baseURL,
java.lang.String[] edges)
Caches a set of edge images derived from a base image.
|
static void |
cacheImg(java.lang.String skinImgDir,
java.lang.String baseImageURL)
Cache a list of images
|
static void |
cacheImgs(java.lang.String skinImgDir,
java.lang.Iterable<java.lang.String> baseImageURLs)
Cache a list of images
|
static void |
cacheImgStates(java.lang.String skinImgDir,
java.lang.String[] baseImageURLs,
java.lang.String[] states)
Caches a set of state images derived from a base image.
|
static void |
cacheImgStates(java.lang.String skinImgDir,
java.lang.String baseImageURL,
java.lang.String states)
Caches a set of state images derived from a base image.
|
static void |
cacheStretchImgStates(java.lang.String skinImgDir,
java.lang.String[] baseURLs,
java.lang.String[] states)
Caches a set of state stretch images derived from a base image.
|
static void |
cacheStretchImgStates(java.lang.String skinImgDir,
java.lang.String baseURL,
java.lang.String states)
Caches a set of state stretch images derived from a base image.
|
static void |
cacheStretchImgStates(java.lang.String skinImgDir,
java.lang.String baseURL,
java.lang.String[] states)
Caches a set of state stretch images derived from a base image.
|
static java.lang.String |
getSkinDir()
Return the skin dir.
|
public static java.lang.String getSkinDir()
public static void cacheImgs(java.lang.String skinImgDir, java.lang.Iterable<java.lang.String> baseImageURLs)
skinImgDir
- the skinImgDirbaseImageURLs
- a list of base urlspublic static void cacheImg(java.lang.String skinImgDir, java.lang.String baseImageURL)
skinImgDir
- the skinImgDirbaseImageURL
- the base urlspublic static void cacheImgStates(java.lang.String skinImgDir, java.lang.String baseImageURL, java.lang.String states)
skinImgDir
- the skinImgDirbaseImageURL
- the base image pathstates
- a list of states to load.public static void cacheImgStates(java.lang.String skinImgDir, java.lang.String[] baseImageURLs, java.lang.String[] states)
skinImgDir
- the skinImgDirbaseImageURLs
- the base image pathsstates
- a list of states to load.public static void cacheEdgeImages(java.lang.String skinImgDir, java.lang.String baseURL)
skinImgDir
- the skinImgDirbaseURL
- the base urlpublic static void cacheEdgeImages(java.lang.String skinImgDir, java.lang.String baseURL, java.lang.String edges)
skinImgDir
- the skinImgDirbaseURL
- the base urledges
- List of edges to load.public static void cacheEdgeImages(java.lang.String skinImgDir, java.lang.String baseURL, java.lang.String[] edges)
skinImgDir
- the skinImgDirbaseURL
- the base urledges
- List of edges to load.public static void cacheEdgeImages(java.lang.String skinImgDir, java.lang.String[] baseURLs, java.lang.String[] edges)
skinImgDir
- the skinImgDirbaseURLs
- list of base urlsedges
- List of edges to load.public static void cacheStretchImgStates(java.lang.String skinImgDir, java.lang.String baseURL, java.lang.String states)
skinImgDir
- the skinImgDirbaseURL
- base image URL from which stateful names are to be derivedstates
- List of states to load.public static void cacheStretchImgStates(java.lang.String skinImgDir, java.lang.String baseURL, java.lang.String[] states)
skinImgDir
- the skinImgDirbaseURL
- base image URL from which stateful names are to be derivedstates
- List of states to load.public static void cacheStretchImgStates(java.lang.String skinImgDir, java.lang.String[] baseURLs, java.lang.String[] states)
skinImgDir
- the skinImgDirbaseURLs
- List of base image URLs from which stateful names are to be derivedstates
- List of states to load.