Package net.minecraft

Class FileUtil

java.lang.Object
net.minecraft.FileUtil

public class FileUtil extends Object
  • Field Details

    • COPY_COUNTER_PATTERN

      private static final Pattern COPY_COUNTER_PATTERN
    • MAX_FILE_NAME

      private static final int MAX_FILE_NAME
      See Also:
      Constant Field Values
    • RESERVED_WINDOWS_FILENAMES

      private static final Pattern RESERVED_WINDOWS_FILENAMES
  • Constructor Details

    • FileUtil

      public FileUtil()
  • Method Details

    • findAvailableName

      public static String findAvailableName(Path p_133731_, String p_133732_, String p_133733_) throws IOException
      Throws:
      IOException
    • isPathNormalized

      public static boolean isPathNormalized(Path p_133729_)
    • isPathPortable

      public static boolean isPathPortable(Path p_133735_)
    • createPathToResource

      public static Path createPathToResource(Path p_133737_, String p_133738_, String p_133739_)
    • getFullResourcePath

      public static String getFullResourcePath(String p_179923_)
    • normalizeResourcePath

      public static String normalizeResourcePath(String p_179925_)