Class FileUtils

java.lang.Object
net.minecraftforge.fml.loading.FileUtils

public class FileUtils extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • FileUtils

      public FileUtils()
  • Method Details

    • getOrCreateDirectory

      @Deprecated(forRemoval=true, since="1.19.4") public static Path getOrCreateDirectory(Path dirPath, String dirLabel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use normal Java NIO methods instead
    • fileExtension

      public static String fileExtension(Path path)
    • matchFileName

      public static boolean matchFileName(String path, String... matches)