Package com.squarespace.cldrengine
Class FileResourcePackLoader
- java.lang.Object
-
- com.squarespace.cldrengine.FileResourcePackLoader
-
- All Implemented Interfaces:
ResourcePackLoader
public class FileResourcePackLoader extends java.lang.Object implements ResourcePackLoader
Looks for resource packs in the path "/ .json" or with a ".gz" extension if the compression flag is set.
-
-
Constructor Summary
Constructors Constructor Description FileResourcePackLoader(java.nio.file.Path directory)
FileResourcePackLoader(java.nio.file.Path directory, boolean compressed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourcePack
get(java.lang.String language)
-
-
-
Method Detail
-
get
public ResourcePack get(java.lang.String language)
- Specified by:
get
in interfaceResourcePackLoader
-
-