net.minecraft

public class FileUtil

v
net.minecraft.FileUtil
net.minecraft.class_4239
net.minecraft.util.PathUtil
net.minecraft.FileUtils

Field summary

Modifier and TypeField
private static final Pattern
a
COPY_COUNTER_PATTERN
field_18956
FILE_NAME_WITH_COUNT
private static final int
b
MAX_FILE_NAME
field_33384
MAX_NAME_LENGTH
private static final Pattern
c
RESERVED_WINDOWS_FILENAMES
field_18955
RESERVED_WINDOWS_NAMES
private static final Pattern
d
STRICT_PATH_SEGMENT_CHECK
field_40712
VALID_FILE_NAME

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static String
a(String arg0)
sanitizeName(String arg0)
method_61105(String arg0)
replaceInvalidChars(String fileName)
public static String
a(Path arg0, String arg1, String arg2)
findAvailableName(Path arg0, String arg1, String arg2)
method_19773(Path arg0, String arg1, String arg2)
getNextUniqueName(Path path, String name, String extension)
public static boolean
a(Path arg0)
isPathNormalized(Path arg0)
method_20200(Path arg0)
isNormal(Path path)
public static boolean
b(Path arg0)
isPathPortable(Path arg0)
method_20201(Path arg0)
isAllowedName(Path path)
public static Path
b(Path arg0, String arg1, String arg2)
createPathToResource(Path arg0, String arg1, String arg2)
method_20202(Path arg0, String arg1, String arg2)
getResourcePath(Path path, String resourceName, String extension)
public static String
b(String arg0)
getFullResourcePath(String arg0)
method_34675(String arg0)
getPosixFullPath(String path)
public static String
c(String arg0)
normalizeResourcePath(String arg0)
method_34676(String arg0)
normalizeToPosix(String path)
public static com.mojang.serialization.DataResult<List<String>>
d(String arg0)
decomposePath(String arg0)
method_46346(String arg0)
split(String path)
public static Path
a(Path arg0, List<String> arg1)
resolvePath(Path arg0, List<String> arg1)
method_46344(Path arg0, List<String> arg1)
getPath(Path root, List<String> paths)
public static boolean
e(String arg0)
isValidStrictPathSegment(String arg0)
method_46347(String arg0)
isFileNameValid(String name)
public static void
a(String... arg0)
validatePath(String... arg0)
method_46345(String... arg0)
validatePath(String... paths)
public static void
c(Path arg0)
createDirectoriesSafe(Path arg0)
method_47525(Path arg0)
createDirectories(Path path)