net.minecraft

public class FileUtil

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

Field summary

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

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)
m_339677_(String p_342123_)
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)
m_133730_(Path p_133731_, String p_133732_, String p_133733_)
public static boolean
a(Path arg0)
isPathNormalized(Path arg0)
method_20200(Path arg0)
isNormal(Path path)
m_133728_(Path p_133729_)
public static boolean
b(Path arg0)
isPathPortable(Path arg0)
method_20201(Path arg0)
isAllowedName(Path path)
m_133734_(Path p_133735_)
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)
m_133736_(Path p_133737_, String p_133738_, String p_133739_)
public static String
b(String arg0)
getFullResourcePath(String arg0)
method_34675(String arg0)
getPosixFullPath(String path)
m_179922_(String p_179923_)
public static String
c(String arg0)
normalizeResourcePath(String arg0)
method_34676(String arg0)
normalizeToPosix(String path)
m_179924_(String p_179925_)
public static com.mojang.serialization.DataResult<List<String>>
d(String arg0)
decomposePath(String arg0)
method_46346(String arg0)
split(String path)
m_245538_(String p_248866_)
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)
m_245247_(Path p_251522_, List<String> p_251495_)
public static boolean
e(String arg0)
isValidStrictPathSegment(String arg0)
method_46347(String arg0)
isFileNameValid(String name)
m_245636_(String p_249814_)
public static void
a(String... arg0)
validatePath(String... arg0)
method_46345(String... arg0)
validatePath(String... paths)
m_245411_(String... p_249502_)
public static void
c(Path arg0)
createDirectoriesSafe(Path arg0)
method_47525(Path arg0)
createDirectories(Path path)
m_257659_(Path p_259902_)