Package net.minecraft
Class FileUtil
java.lang.Object
net.minecraft.FileUtil
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateDirectoriesSafe(Path p_259902_) static PathcreatePathToResource(Path p_133737_, String p_133738_, String p_133739_) decomposePath(String p_248866_) static StringfindAvailableName(Path p_133731_, String p_133732_, String p_133733_) static StringgetFullResourcePath(String p_179923_) static booleanisPathNormalized(Path p_133729_) static booleanisPathPortable(Path p_133735_) static booleanisValidStrictPathSegment(String p_249814_) static StringnormalizeResourcePath(String p_179925_) static PathresolvePath(Path p_251522_, List<String> p_251495_) static voidvalidatePath(String... p_249502_)  
- 
Field Details
- 
COPY_COUNTER_PATTERN
 - 
MAX_FILE_NAME
private static final int MAX_FILE_NAME- See Also:
 
 - 
RESERVED_WINDOWS_FILENAMES
 - 
STRICT_PATH_SEGMENT_CHECK
 
 - 
 - 
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
 - 
isPathPortable
 - 
createPathToResource
 - 
getFullResourcePath
 - 
normalizeResourcePath
 - 
decomposePath
 - 
resolvePath
 - 
isValidStrictPathSegment
 - 
validatePath
 - 
createDirectoriesSafe
- Throws:
 IOException
 
 -