public class FolderPackFinder extends java.lang.Object implements IPackFinder
Modifier and Type | Field and Description |
---|---|
private static java.io.FileFilter |
FILE_FILTER |
private java.io.File |
folder |
Constructor and Description |
---|
FolderPackFinder(java.io.File folderIn) |
Modifier and Type | Method and Description |
---|---|
<T extends ResourcePackInfo> |
addPackInfosToMap(java.util.Map<java.lang.String,T> nameToPackMap,
ResourcePackInfo.IFactory<T> packInfoFactory) |
private java.util.function.Supplier<IResourcePack> |
makePackSupplier(java.io.File fileIn) |
private static final java.io.FileFilter FILE_FILTER
private final java.io.File folder
public <T extends ResourcePackInfo> void addPackInfosToMap(java.util.Map<java.lang.String,T> nameToPackMap, ResourcePackInfo.IFactory<T> packInfoFactory)
addPackInfosToMap
in interface IPackFinder
private java.util.function.Supplier<IResourcePack> makePackSupplier(java.io.File fileIn)