ApplyInFolders.java
net.minecraft.util.filefix.operations.ApplyInFolders
信息
- 全限定名:net.minecraft.util.filefix.operations.ApplyInFolders
- 类型:public record
- 包:net.minecraft.util.filefix.operations
- 源码路径:src/main/java/net/minecraft/util/filefix/operations/ApplyInFolders.java
- 起始行号:L9
- 实现:FileFixOperation
- 职责:
TODO
字段/常量
- 无
内部类/嵌套类型
- 无
构造器
- 无
方法
下面的方法块按源码顺序生成。
public void fix(Path baseDirectory, UpgradeProgress upgradeProgress) @ L10
- 方法名:fix
- 源码定位:L10
- 返回类型:void
- 修饰符:public
参数:
- baseDirectory: Path
- upgradeProgress: UpgradeProgress
说明:
TODO
代码
public record ApplyInFolders(FileRelation folders, List<FileFixOperation> fileFixOperations) implements FileFixOperation {
@Override
public void fix(Path baseDirectory, UpgradeProgress upgradeProgress) throws IOException {
for (Path path : this.folders.getPaths(baseDirectory)) {
for (FileFixOperation operation : this.fileFixOperations) {
operation.fix(path, upgradeProgress);
}
}
}
}引用的其他类
-
- 引用位置:
实现
- 引用位置:
-
- 引用位置:
参数
- 引用位置: