Package net.minecraft.util
Class FileUtil
- java.lang.Object
-
- net.minecraft.util.FileUtil
-
public class FileUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.regex.Pattern
COPY_COUNTER_PATTERN
private static java.util.regex.Pattern
RESERVED_WINDOWS_FILENAMES
-
Constructor Summary
Constructors Constructor Description FileUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.nio.file.Path
createPathToResource(java.nio.file.Path p_214993_0_, java.lang.String p_214993_1_, java.lang.String p_214993_2_)
static java.lang.String
findAvailableName(java.nio.file.Path p_214992_0_, java.lang.String p_214992_1_, java.lang.String p_214992_2_)
static boolean
isPathNormalized(java.nio.file.Path p_214995_0_)
static boolean
isPathPortable(java.nio.file.Path p_214994_0_)
-
-
-
Method Detail
-
findAvailableName
public static java.lang.String findAvailableName(java.nio.file.Path p_214992_0_, java.lang.String p_214992_1_, java.lang.String p_214992_2_) throws java.io.IOException
- Throws:
java.io.IOException
-
isPathNormalized
public static boolean isPathNormalized(java.nio.file.Path p_214995_0_)
-
isPathPortable
public static boolean isPathPortable(java.nio.file.Path p_214994_0_)
-
createPathToResource
public static java.nio.file.Path createPathToResource(java.nio.file.Path p_214993_0_, java.lang.String p_214993_1_, java.lang.String p_214993_2_)
-
-