net.minecraft

public class FileUtil

v
net.minecraft.FileUtil
net.minecraft.class_4239
net.minecraft.unmapped.C_izhcfpjy
net.minecraft.util.PathUtil
net.minecraft.util.FileNameUtil
net.minecraft.src.C_5144_
net.minecraft.FileUtils

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static String
a(String arg0)
sanitizeName(String arg0)
method_61105(String arg0)
m_qfzjhnpq(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)
m_oxxrxsnf(Path arg0, String arg1, String arg2)
getNextUniqueName(Path path, String name, String extension)
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)
m_fxhongpi(Path arg0)
isNormal(Path path)
isNormal(Path path)
m_133728_(Path p_133729_)
public static boolean
b(Path arg0)
isPathPortable(Path arg0)
method_20201(Path arg0)
m_wspdmldj(Path arg0)
isAllowedName(Path path)
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)
m_pabwphcl(Path arg0, String arg1, String arg2)
getResourcePath(Path path, String resourceName, String extension)
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)
m_xeiwyvgp(String arg0)
getPosixFullPath(String path)
getPosixFullPath(String path)
m_179922_(String p_179923_)
public static String
c(String arg0)
normalizeResourcePath(String arg0)
method_34676(String arg0)
m_wrapkupe(String arg0)
normalizeToPosix(String path)
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)
m_gryyrvdi(String arg0)
split(String path)
decomposePath(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)
m_dnipaeyx(Path arg0, List<String> arg1)
getPath(Path root, List<String> paths)
resolvePath(Path basePath, List<String> followingSegments)
m_245247_(Path p_251522_, List<String> p_251495_)
public static boolean
e(String arg0)
isValidStrictPathSegment(String arg0)
method_46347(String arg0)
m_dtiidwhs(String arg0)
isFileNameValid(String name)
isValidStrictPathSegment(String pathSegment)
m_245636_(String p_249814_)
public static void
a(String... arg0)
validatePath(String... arg0)
method_46345(String... arg0)
m_inixmyie(String... arg0)
validatePath(String... paths)
validatePath(String... pathSegments)
m_245411_(String... p_249502_)
public static void
c(Path arg0)
createDirectoriesSafe(Path arg0)
method_47525(Path arg0)
m_gjmuclbd(Path arg0)
createDirectories(Path path)
createDirectoriesAndFollowSymlinks(Path path)
m_257659_(Path p_259902_)